Setup and Quickstart
Last updated
Was this helpful?
Last updated
Was this helpful?
Qodo Gen CLI is now available in alpha release.
To use Qodo Gen CLI, you’ll need Node.js and npm installed.
To install, run:
npm install -g @qodo/gen
To start using Qodo Gen CLI, you need to log in first:
qodo login
Once login is completed you'll receive an API key in the terminal.
The API key is also saved locally in the .qodo
folder in your home dir, and can be reused (e.g., in CI).
The key is tied to your user account and subject to the same usage limits.
Run Qodo Gen Chat directly in your terminal:
qodo chat
In this mode you can send prompts such as:
Write tests for the files in the auth directory
Add better logging througout my project
Use Qodo Merge to describe the changes in my working folder
And Qodo Gen CLI will follow your guidelines.
The response is a markdown-formatted output.
You can exit at any time by pressing Escape
.
You can use a specific AI model with --model=<model_name>
.
For a list of available model names, run qodo models
.
Use the Qodo web interface:
qodo --ui
The interactive web UI mode features full interactivity, and the same capabilities as in the terminal.
Find working examples and templates: https://github.com/qodo-ai/qodo-gen-cli