Kode is an interactive terminal UI application. Run it directly in your terminal:
cd C:\Users\Aditya\kode
node dist/cli.jsYour API key is already configured in kode.json.
Once running, you can:
-
Type natural language requests like:
- "Read the package.json file"
- "List all TypeScript files in src"
- "Search for console.log in the codebase"
-
Use slash commands:
/help- Show all commands/new- Start a new session/sessions- List recent sessions/clear- Clear the screen/model- Show model info/cost- Show token usage
-
Permission prompts: Kode will ask before:
- Running shell commands
- Writing to files
- Editing files
-
View todos: If you ask Kode to plan a task, todos will appear in the sidebar
This error occurs when running with piped input. Run node dist/cli.js directly in your terminal, not with echo or pipes.
Make sure kode.json exists with your API key, or set SARVAM_API_KEY environment variable.
To use kode command from anywhere:
npm install -g .
kode