Skip to content
code-config.com

Command-line reference

Use csc on the computer that owns the project and credentials. For a guided first setup, use Get started; this page is for looking up commands and automation options.

Terminal window
csc --version
csc --help
csc launch --help
csc account --help

Your installed build’s help shows the command syntax that build accepts. A command documented for a newer build may be missing from an older installation.

Toolkit commands start with csc toolkit, and the option that names a toolkit is –toolkit. It takes a toolkit’s name or its ID. Two toolkits can share a name, and then the command is refused with the IDs to choose from. In a –json answer, a toolkit is an object with its id and name.

Press Tab after csc to see the commands that can come next. Pick one and press Tab again to go to the next level, down to its flags. Depending on your shell, you’ll see a short description beside each choice or just the names.

After --toolkit, Tab lists your toolkits: the ones you pinned to the top of My toolkits in the desktop app, then the ones made for the coding app named by --host (Claude Code if there’s none), then the ones you launched most recently. After --host or --app, it offers claude and codex. Tab never goes over the network, so it answers right away, and a toolkit you just made appears after your next csc sync.

Tab works in zsh, bash, and fish on a Mac or on Linux, and there’s nothing to set up. Installing Code Config adds it, and on a computer that doesn’t have it yet, a command such as csc sync run in a terminal adds it and says so once. It works in the next new terminal you open. In zsh and bash this is a line at the end of your shell’s startup files, and if you take that line out, updates won’t put it back.

Task Guide or command
Install and sign in Install Code Config, then csc login.
Set up with a coding agent Get started; the setup flow returns its next action.
Start a coding app Coding-app guides explain app-specific launch behavior.
Set a project’s default toolkit Connect a project and choose defaults.
Get toolkit changes csc sync.
Set up a server’s credential Set up MCP credentials.
Choose a coding-app account Coding-app accounts and models.
Receive web launch requests csc listen on the destination computer.
Interpret a failure Troubleshooting, including exit codes.

The index below is generated from the command definitions of this build and lists its commands, launch, sign-in, and account included. csc listen, csc shell, and csc disconnect have their own help and are not in the index.

The displayed syntax contains placeholders, not runnable examples. Replace values such as <id> with your own IDs. Optional arguments can depend on other options; read the command’s help before applying a change.

csc repo get

Syntax:

csc repo get [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc repo get --help.

csc repo set

Syntax:

csc repo set --url <url> [options]
OptionValueRequiredRepeatable
--url<url>YesNo
--role<role>NoNo
--waitNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc repo set --help.

csc launch

Syntax:

csc launch [options]
OptionValueRequiredRepeatable
--host<host>NoNo
--desktopNoneNoNo
--toolkit<toolkit>NoYes
--account<account>NoNo
--strictNoneNoNo
--prompt<prompt>NoNo
--resume<resume>NoNo
--forkNoneNoNo
--stages<stages>NoNo
--close-open-appNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc launch --help.

csc key get

Syntax:

csc key get [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc key get --help.

csc key find

Syntax:

csc key find [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc key find --help.

csc key set

Syntax:

csc key set [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>NoNo
--server<server>NoNo
--app<app>NoNo
--provider<provider>NoNo
--instance<instance>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc key set --help.

csc key delete

Syntax:

csc key delete --setting <setting> [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>NoNo
--server<server>NoNo
--app<app>NoNo
--setting<setting>YesYes
--jsonNoneNoNo

Allowed values and dependent options: csc key delete --help.

csc key page

Syntax:

csc key page [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>NoNo
--no-openNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc key page --help.

csc key copy

Syntax:

csc key copy --to <to> [options]
OptionValueRequiredRepeatable
--to<to>YesNo
--toolkit<toolkit>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc key copy --help.

csc sync

Syntax:

csc sync [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc sync --help.

csc setup

Syntax:

csc setup [options]
OptionValueRequiredRepeatable
--agentNoneNoNo
--route<route>NoNo
--phase<phase>NoNo
--skillNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc setup --help.

csc setup run

Syntax:

csc setup run [options]
OptionValueRequiredRepeatable
--app<app>NoNo
--toolkit<toolkit>NoNo
--no-openNoneNoNo
--waitNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc setup run --help.

csc setup usage

Syntax:

csc setup usage [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc setup usage --help.

csc toolkit switch

Syntax:

csc toolkit switch <toolkit> [options]
OptionValueRequiredRepeatable
--session<session>NoNo
--conversation<conversation>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit switch --help.

csc toolkit live

Syntax:

csc toolkit live [<state>] [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit live --help.

csc toolkit get

Syntax:

csc toolkit get [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>NoNo
--filesNoneNoNo
--for<for>NoYes
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit get --help.

csc toolkit set

Syntax:

csc toolkit set [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>NoNo
--add-tools<add-tools>NoYes
--remove-tools<remove-tools>NoYes
--mcp-url<mcp-url>NoYes
--mcp-transport<mcp-transport>NoNo
--mcp-header<mcp-header>NoYes
--mcp-remove<mcp-remove>NoYes
--include<include>NoYes
--remove-include<remove-include>NoYes
--defaultNoneNoNo
--new-name<new-name>NoNo
--status-line-json<status-line-json>NoNo
--text-json<text-json>NoNo
--settings-json<settings-json>NoNo
--for<for>NoYes
--follow<follow>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit set --help.

csc toolkit create

Syntax:

csc toolkit create --name <name> [options]
OptionValueRequiredRepeatable
--name<name>YesNo
--add-tools<add-tools>NoYes
--defaultNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit create --help.

csc toolkit delete

Syntax:

csc toolkit delete --toolkit <toolkit> [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>YesNo
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit delete --help.

csc toolkit adopt

Syntax:

csc toolkit adopt <slug> [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit adopt --help.

csc toolkit follow

Syntax:

csc toolkit follow <toolkit> [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit follow --help.

csc toolkit export

Syntax:

csc toolkit export --toolkit <toolkit> [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>YesNo
--to<to>NoNo
--pluginNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit export --help.

csc toolkit preview

Syntax:

csc toolkit preview [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>NoNo
--host<host>NoNo
--cleanNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit preview --help.

csc toolkit share

Syntax:

csc toolkit share [options]
OptionValueRequiredRepeatable
--toolkit<toolkit>NoNo
--subcategory<subcategory>NoYes
--link-onlyNoneNoNo
--copy-to-publicNoneNoNo
--stopNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc toolkit share --help.

csc catalog search

Syntax:

csc catalog search [<path>...] [options]
OptionValueRequiredRepeatable
--projectNoneNoNo
--query<query>NoNo
--kind<kind>NoNo
--cursor<cursor>NoNo
--for<for>NoYes
--category<category>NoNo
--subcategory<subcategory>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc catalog search --help.

csc catalog get

Syntax:

csc catalog get [options]
OptionValueRequiredRepeatable
--slug<slug>NoNo
--repo<repo>NoNo
--tool<tool>NoNo
--filesNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc catalog get --help.

csc catalog index

Syntax:

csc catalog index --repo <repo> [options]
OptionValueRequiredRepeatable
--repo<repo>YesNo
--jsonNoneNoNo

Allowed values and dependent options: csc catalog index --help.

csc project get

Syntax:

csc project get [options]
OptionValueRequiredRepeatable
--path<path>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc project get --help.

csc project set

Syntax:

csc project set [options]
OptionValueRequiredRepeatable
--path<path>NoNo
--toolkit<toolkit>NoNo
--account<account>NoNo
--host<host>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc project set --help.

csc project delete

Syntax:

csc project delete [options]
OptionValueRequiredRepeatable
--path<path>NoNo
--host<host>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc project delete --help.

csc project remove

Syntax:

csc project remove [options]
OptionValueRequiredRepeatable
--path<path>NoNo
--under<under>NoNo
--dry-runNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc project remove --help.

csc project locate

Syntax:

csc project locate --project <project> [options]
OptionValueRequiredRepeatable
--project<project>YesNo
--path<path>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc project locate --help.

csc project scan

Syntax:

csc project scan [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc project scan --help.

csc project sync

Syntax:

csc project sync [options]
OptionValueRequiredRepeatable
--path<path>NoNo
--toolkit<toolkit>NoYes
--host<host>NoNo
--stages<stages>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc project sync --help.

csc status get

Syntax:

csc status get [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc status get --help.

csc computer get

Syntax:

csc computer get [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc computer get --help.

csc storage

Syntax:

csc storage [options]
OptionValueRequiredRepeatable
--cleanNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc storage --help.

csc enroll

Syntax:

csc enroll [options]
OptionValueRequiredRepeatable
--name<name>NoNo
--browserNoneNoNo
--device-codeNoneNoNo
--forceNoneNoNo
--no-waitNoneNoNo
--statusNoneNoNo
--api-base<api-base>NoNo
--email<email>NoNo
--agreeNoneNoNo
--workspace<workspace>NoNo
--waitNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc enroll --help.

csc login

Syntax:

csc login [options]
OptionValueRequiredRepeatable
--name<name>NoNo
--browserNoneNoNo
--device-codeNoneNoNo
--forceNoneNoNo
--no-waitNoneNoNo
--statusNoneNoNo
--api-base<api-base>NoNo
--email<email>NoNo
--agreeNoneNoNo
--workspace<workspace>NoNo
--waitNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc login --help.

csc update

Syntax:

csc update [options]
OptionValueRequiredRepeatable
--auto<auto>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc update --help.

csc account get

Syntax:

csc account get [options]
OptionValueRequiredRepeatable
--host<host>NoNo
--account<account>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc account get --help.

csc account add

Syntax:

csc account add <name> [options]
OptionValueRequiredRepeatable
--host<host>NoNo
--import-currentNoneNoNo
--import-from<import-from>NoNo
--emptyNoneNoNo
--apiNoneNoNo
--preset<preset>NoNo
--endpoint<endpoint>NoNo
--model<model>NoYes
--key-stdinNoneNoNo
--isolation<isolation>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc account add --help.

csc account set

Syntax:

csc account set --account <account> [options]
OptionValueRequiredRepeatable
--account<account>YesNo
--host<host>NoNo
--name<name>NoNo
--apiNoneNoNo
--preset<preset>NoNo
--endpoint<endpoint>NoNo
--model<model>NoYes
--key-stdinNoneNoNo
--subscriptionNoneNoNo
--import-currentNoneNoNo
--isolation<isolation>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc account set --help.

csc account delete

Syntax:

csc account delete --account <account> [options]
OptionValueRequiredRepeatable
--account<account>YesNo
--host<host>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc account delete --help.

csc account sign-in

Syntax:

csc account sign-in --account <account> [options]
OptionValueRequiredRepeatable
--account<account>YesNo
--host<host>NoNo
--stages<stages>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc account sign-in --help.

csc account copy

Syntax:

csc account copy --to <to> [options]
OptionValueRequiredRepeatable
--to<to>YesNo
--account<account>NoNo
--host<host>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc account copy --help.

csc account-mode get

Syntax:

csc account-mode get [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc account-mode get --help.

csc account-mode set

Syntax:

csc account-mode set --mode <mode> [options]
OptionValueRequiredRepeatable
--mode<mode>YesNo
--jsonNoneNoNo

Allowed values and dependent options: csc account-mode set --help.

csc settings credit

Syntax:

csc settings credit [<state>] [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc settings credit --help.

csc plan

Syntax:

csc plan [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc plan --help.

csc feedback

Syntax:

csc feedback [options]
OptionValueRequiredRepeatable
--kind<kind>NoNo
--about<about>NoNo
--name<name>NoNo
--message<message>NoNo
--file<file>NoNo
--retryNoneNoNo
--jsonNoneNoNo

Allowed values and dependent options: csc feedback --help.

csc workspace

Syntax:

csc workspace [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc workspace --help.

csc workspace use

Syntax:

csc workspace use <workspace> [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc workspace use --help.

csc session current

Syntax:

csc session current [options]
OptionValueRequiredRepeatable
--session<session>NoNo
--conversation<conversation>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc session current --help.

csc session open

Syntax:

csc session open --project <project> --public-key <public-key> [options]
OptionValueRequiredRepeatable
--project<project>YesNo
--public-key<public-key>YesNo
--toolkit<toolkit>NoYes
--stages<stages>NoNo
--isolated-account<isolated-account>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc session open --help.

csc session close

Syntax:

csc session close <session> [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc session close --help.

csc session pack

Syntax:

csc session pack <session> [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc session pack --help.

csc session check

Syntax:

csc session check <session> [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc session check --help.

csc mcp status

Syntax:

csc mcp status [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc mcp status --help.

csc mcp retry

Syntax:

csc mcp retry [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc mcp retry --help.

csc mcp sign-in

Syntax:

csc mcp sign-in <server> [options]
OptionValueRequiredRepeatable
--session<session>NoNo
--jsonNoneNoNo

Allowed values and dependent options: csc mcp sign-in --help.

csc tool save

Syntax:

csc tool save <path> [options]
OptionValueRequiredRepeatable
--jsonNoneNoNo

Allowed values and dependent options: csc tool save --help.

Download command metadata for the exact management and runtime definitions used by this documentation build, including allowed values and cross-option constraints. Runtime execution commands support coding-app integration and do not replace setup.

Commands that support --json return structured output. Check both the exit code and the reported outcome. A process starting successfully does not prove that every toolkit item was configured.

Check the specific command’s help before using a flag. Review changes before applying them, and obtain approval for account, publication, or destructive operations. Supply credentials through supported local inputs or standard input, never as command-line values. Do not edit Code Config’s managed state files by hand.