Skip to main content
Use tc kv when you want the shortest path from a shell prompt to a stored value.

Basic workflow

Input and output

tc kv put accepts one of three inputs: tc kv get can print plain text, raw bytes, or JSON:

Target a different space

--space accepts either a short owned-space name or a full tinycloud:pkh:eip155:... URI.

What the command family does

  • put, get, list, delete
  • head for metadata without fetching the body
  • --prefix for listing a subset of keys
  • --json for scripting-friendly output

Good defaults

  • Quote SQL and JSON-like shell values so the shell passes them as a single argument
  • Use --raw when you need the exact stored value in a pipe
  • Use --output when you want to save binary data to a file
The CLI source routes KV operations through the active profile and uses the node’s primary space unless you pass --space.