tc) brings self-sovereign storage to your terminal. Manage key-value data, spaces, delegations, secrets, and more — all from the command line.
Installation
Install the CLI globally from npm:Requires Node.js 18 or later.
Quick Start
Get up and running in under a minute:Global Options
Everytc command accepts these flags:
| Option | Description | Default |
|---|---|---|
--profile <name> | Use a specific profile | default |
--host <url> | Override the TinyCloud node URL | Profile default |
--verbose | Enable verbose logging | false |
--no-cache | Disable response caching | false |
--quiet | Suppress non-essential output | false |
--json | Force JSON output | false |
Output Modes
The CLI automatically adjusts its output format based on context:- Interactive (TTY)
- Piped (non-TTY)
- --json flag
When running in a terminal, output is human-friendly with colors and formatting.
Environment Variables
Configure default behavior with environment variables. These are overridden by command-line flags.| Variable | Description | Example |
|---|---|---|
TC_PROFILE | Default profile name | production |
TC_HOST | Default TinyCloud node URL | https://node.tinycloud.xyz |
TC_HIDE_BANNER | Suppress the startup banner | 1 |
TC_PRIVATE_KEY | Private key for automated workflows | 0xabc... |
Command Groups
Authentication
Sign in, manage sessions, and check identity
Key-Value Storage
Store, retrieve, and manage data
Spaces
Create and manage data ownership containers
Delegations & Sharing
Grant access and share data with other users
Secrets & Variables
Manage encrypted secrets and plaintext variables
Profiles
Manage multiple environments and configurations
Diagnostics
Troubleshoot your setup with built-in checks
Source Code
The CLI is open source. Contributions and issues are welcome.GitHub Repository
@tinycloud/cli on GitHub