Teti Code Quickstart
Welcome to Teti Code! This quickstart guide will have you using AI-powered coding assistance in a few minutes. By the end, you'll understand how to use Teti Code for common development tasks.
Pro, Max, or Quantum plan required — Teti Code requires a paid Teti subscription or an API key. Not available with the free plan.
Before you begin
Make sure you have:
- A terminal or command prompt open
- A code project to work with
- A Teti account that meets the above requirements
Step 1: Install Teti Code
macOS / Linux / WSL
curl -fsSL "https://assets.teti.ai/teti-computer/install.sh" | bash
Windows PowerShell
irm "https://assets.teti.ai/teti-computer/install.ps1" | iex
Teti Code automatically updates in the background to keep you on the latest version.
Step 2: Authenticate
Use teticode auth login to configure your credentials:
teticode auth login
Your credentials are stored and you won't need to log in again. To see your authenticated providers:
teticode auth list
To log out:
teticode auth logout
Step 3: Start your first session
Open your terminal in any project directory and start Teti Code:
cd /path/to/your/project
teticode
You'll see the Teti Code welcome screen with your session information.
You can also continue a previous session:
teticode -c # Continue the last session
teticode -s <id> # Continue a specific session
Step 4: Choose a model
You can select which model to use with the -m flag:
teticode -m teti/N1
To see all available models from your configured providers:
teticode models
Step 5: Ask your first question
Start by understanding your codebase. Try one of these:
what does this project do?
Teti Code will analyze your files and provide a summary. You can also ask more specific questions:
what technologies does this project use?
where is the main entry point?
explain the folder structure
Teti Code reads your project files as needed. You don't have to manually add context.
Step 6: Make your first code change
Let Teti Code do some actual coding. Try a simple task:
add a hello world function to the main file
Teti Code will:
- Find the appropriate file
- Show you the proposed changes
- Ask for your approval
- Make the edit
Teti Code always asks for permission before modifying files. You can approve individual changes or enable "Accept all" mode for a session.
Step 7: Use Git with Teti Code
Teti Code makes Git operations conversational:
what files have I changed?
commit my changes with a descriptive message
create a new branch called feature/quickstart
help me resolve merge conflicts
Step 8: Fix a bug or add a feature
Describe what you want in natural language:
add input validation to the user registration form
Or fix existing issues:
there's a bug where users can submit empty forms - fix it
Teti Code will:
- Locate the relevant code
- Understand the context
- Implement a solution
- Run tests if available
Step 9: Other common workflows
Refactor code
refactor the authentication module to use async/await instead of callbacks
Write tests
write unit tests for the calculator functions
Update documentation
update the README with installation instructions
Code review
review my changes and suggest improvements
Talk to Teti Code like you would a helpful colleague. Describe what you want to achieve, and it will help you get there.
Non-interactive mode
You can run Teti Code without the TUI for quick one-off tasks:
teticode run "explain how closures work in JavaScript"
teticode run "fix the build error"
Essential commands
| Command | What it does | Example |
|---|---|---|
teticode | Start interactive TUI | teticode |
teticode run "task" | Run a one-off task without TUI | teticode run "fix the build error" |
teticode -c | Continue most recent session | teticode -c |
teticode -m provider/model | Start with a specific model | teticode -m teti/N1 |
teticode models | List available models | teticode models |
teticode auth login | Configure API key | teticode auth login |
teticode session list | List past sessions | teticode session list |
teticode stats | Show token/cost usage stats | teticode stats |
teticode upgrade | Update to latest version | teticode upgrade |
Pro tips
- Be specific: Instead of "fix the bug", try "fix the login bug where users see a blank screen after entering wrong credentials"
- Use step-by-step instructions: Break complex tasks into numbered steps
- Let Teti Code explore first: Before making changes, let Teti Code understand your code with prompts like "analyze the database schema"
- Use sessions: Continue previous conversations with
teticode -cto keep context across sessions