Skip to main content
The CLI keeps two kinds of state: connection settings (which Tapedrive deployment and wallet) and the active tape. The config file lives at ~/.tape/cli-config.yaml by default, and every setting has a flag and an environment-variable override (TAPE_RPC_URL, TAPE_KEYPAIR, TAPE_CONFIG).

Deployment and wallet

The global options match Solana CLI conventions. --url (-u) accepts the one-letter shortcuts l, d, t, m or a full RPC URL. --keypair (-k) defaults to the Solana CLI’s path at ~/.config/solana/id.json. Use l for local Tapedrive. Tapenet runs on Solana devnet, so its shortcut is d.

The active tape

Most commands target a tape, and they fall back to the active one unless --tape says otherwise. tape create sets its new tape active by default. Switching and checking:
Output
tape address prints the active tape’s address; tape keypair prints its keypair path.

Site domain

tape deploy and tape object sync print the site URL as https://<label>.<site domain>/. The site domain defaults to Tapenet’s tape.site. For a local deployment or another gateway, set TAPE_SITE_DOMAIN or add site_domain to the config file:
~/.tape/cli-config.yaml

Output and diagnostics

--output json (-o json) switches from text to JSON for scripting. --verbose turns on debug logs, and --timings prints a per-command SDK timing summary to stderr.