Quickstart
In this quickstart guide, we'll walk you through the steps to get started with Command Code. By the end, you'll have a working setup, your taste learning active, and be ready to start building!
Install Command Code
Use your preferred package manager:
Install Command Code
npm i -g command-code@latest
Verify the install:
cmd --version
Command Code is available globally as command-code or the shorter alias cmd.
Log in
Run the following command to log in to the CLI.
Login to Command Code
cmd login
This opens a browser to authenticate. Click the Authorize button to sign in and return to the terminal after the login successful message appears. You can create an API key and paste it in your terminal to log in.
✔ Logged in as yourname
API key stored in ~/.commandcode/auth.json
Run cmd to get started.
Start coding with Command Code
Navigate to a project directory and run:
Run the Command Code CLI
cmd
The first time you run cmd in a project, Command Code asks whether to trust the files in that folder. Select Yes, proceed to continue. Command Code asks this once per project directory.
Next, Command Code checks for existing coding sessions. If none are found, it offers a taste learning demo. Select Yes, show me a demo to see how Command Code learns your preferences.
Run your first prompt
Let's run a small prompt. Paste the following prompt in the input box.
Prompt
Build a date.js CLI that tells ISO format of date. Use commander.js and pnpm.
After Command Code finishes executing, press Ctrl + T (taste shortcut) to see what Command Code learned about your taste in .commandcode/taste/taste.md:
.commandcode/taste/taste.md
# CLI
- Use pnpm as package manager. Confidence: 0.50
- Use commander.js for CLI argument parsing. Confidence: 0.50
As you work, Command Code builds a taste profile in .commandcode/taste/. It continuously learns which package manager you use, which libraries you prefer, and how you structure code. These preferences carry into future sessions — and only relevant taste context loads per session.
You've installed Command Code, logged in, and run your first prompt with taste learning active. From here, every session only gets smarter as Command Code adapts to your libraries, patterns, and learns your taste as you build.
- Common Workflows — 10+ real examples of what to build
- Taste — how taste learning works under the hood
- Interactive Mode — all commands, shortcuts, and modes
- CLI Reference — flags and subcommands
Questions or feedback? Join the Discord community.