Skip to main content
tinycloud (also installed as tc when available) is the terminal entry point for TinyCloud. Start here to sign in, store data or inspect local profile state.

Choose a path

Sign in

Set up a profile, choose OpenKey or a local key, and create a session.

Store data

Write and read key-value data in the active space.

Manage spaces

Host your owned space, inspect it, or switch the active space.

Troubleshoot

Run tc doctor, inspect node health, and check local state.

Install

Use Node.js 22.20 or later. Reuse a compatible installed CLI (1.5.0 or newer) rather than downgrading it or creating a second installation. For a fresh manual npm installation:
On Linux, tc may be the system traffic-control command (/usr/sbin/tc). Do not replace it. Use the TinyCloud executable selected by onboarding or tinycloud, and keep an explicit TC_BIN override if you already use one. Agents: start at agents.tinycloud.xyz/onboarding. It installs the CLI and its skill and signs in with tinycloud onboard; see also Agent skills.

Windows

Use Node.js 22.20 or later and npm. Run installation in PowerShell; the resulting launchers also work in Command Prompt. The installer reuses a compatible CLI or installs into a private npm prefix, then adds its Windows shim directory to your user PATH without replacing the machine PATH or unrelated commands. PowerShell:
For a new private installation, packages live under %USERPROFILE%\.local\share\tinycloud\cli; tinycloud.cmd and tc.cmd shims live under %USERPROFILE%\.local\bin when those names are available. Existing commands are not overwritten. Use the executable path the installer reports when a name is already occupied or an existing CLI was selected. Restart the entire terminal application and your agent, not just a tab. Running processes do not inherit the updated user PATH. If their launcher still has the old environment, sign out of Windows and sign in again. This does not require another OpenKey approval or a new TinyCloud profile.

Repair Windows PATH

For the current session only, use the block for your shell:
For persistent repair, rerun the installer above. If you retained a downloaded install.mjs, node install.mjs --repair-path repairs only the Windows user PATH without installing packages or replacing launchers. The installer preserves existing entries and expandable variables, never copies the merged process PATH into the registry, never changes machine PATH, and never uses setx. TC_PATH_UPDATED or TC_PATH_READY means success. If it reports TC_PATH_FAILED, correct the reported registry/permission problem first; do not retry with administrator privileges. When a command name conflicts or before restarting, use the reported TC_BIN. For a fresh private installation, the absolute executable works without PATH:
If the installer selected a different existing executable, use that path instead. Never delete or replace an unrelated tc or tinycloud command.

Defaults

tc applies global flags first, then environment variables, then profile settings.

What the CLI covers

  • Authentication and session management
  • Key-value storage
  • SQLite and DuckDB database operations
  • Spaces, delegations, and Share links
  • Secrets, vault, and plaintext variables
  • Manifest resolution and local state inspection

Source note

Command names, flags, and defaults on the CLI pages were originally written against @tinycloud/cli 1.0.0. New installation examples pin stable 1.5.1; reuse a compatible newer CLI rather than downgrading.