Quickstart
Get started with Tabnine CLI in 5 minutes!
Before you begin, make sure you have Tabnine CLI installed:
Installation Guide - Install Tabnine CLI on your system
If you've already installed Tabnine CLI, you're ready to go!
Step 1: Start Tabnine CLI
Open your terminal and start Tabnine CLI:
tabnineStep 2: Authenticate
On first run, you may be prompted to authenticate. Follow the on-screen instructions to log in with your Tabnine account.
Step 3: Your First Conversation
Once authenticated, you're ready to use Tabnine CLI!
Example 1: Ask a Question
> What is Tabnine CLI and how can it help me?The AI will explain Tabnine CLI's capabilities.
Example 2: List Files
Tabnine CLI will show you the directory structure.
Example 3: Read and Explain Code
The AI will read the file and provide an analysis.
Example 4: Write Code
Tabnine CLI will generate the code and can write it to a file if you confirm.
Essential Commands
Tabnine CLI has built-in slash commands. Here are the most useful:
Get Help
Shows all available commands and keyboard shortcuts.

Change Model
Opens a dialog to select a different AI model.

Clear Conversation
Clears the current conversation history.
View Settings
Opens the settings dialog to configure Tabnine CLI.
Exit
Press Ctrl+C or type:
Working with Files
Read Files
Reference files using the @ symbol:
The AI will automatically read and analyze the file.
Edit Files
The AI will propose changes and ask for confirmation before modifying the file.
Create Files
The AI will generate content and create the file (with your confirmation).
Search Files
The AI will search through your files.
Using for Different Tasks
Code Review
Get AI-powered feedback on your code.
Bug Fixing
Get help debugging issues.
Documentation
Automatically create documentation.
Learning
Understand your codebase better.
Keyboard Shortcuts
Master these shortcuts for efficiency:
Ctrl+C
Exit Tabnine CLI
Ctrl+L
Clear screen
↑ / ↓
Navigate history
Ctrl+U
Clear current input
Type /help to see all shortcuts.
Non-Interactive Mode
For scripts and automation, use non-interactive mode:
Pro Tips
Be Specific
❌ "Review my code" ✅ "Review @src/auth.ts for security vulnerabilities and error handling"
Use Context
Add project context with a TABNINE.md file in your project root:
Chain Tasks
Use Remote Code Search
Get Coaching
Common Workflows
Morning Code Review
Before Committing
Learning New Code
Refactoring
Troubleshooting
Slow Response
If responses are slow:
Check your network connection
Try a different model with
/modelBe more specific in your prompts
Command Not Found
If you see "command not found: tabnine":
Verify Tabnine CLI is installed - see Installation Guide
Check your PATH configuration
Try running with full path:
~/.local/bin/tabnine(Linux/macOS)
Next Steps
Now that you're familiar with the basics:
Learn More
Installation Guide - Installation and setup reference
Commands Reference - All available commands
Keyboard Shortcuts - Productivity tips
Settings - Configure Tabnine CLI
Explore Powerful Features
Remote Code Search - Search large codebases
Coaching Guidelines - Get best practices
Built-in Tools - What tools are available
Checkpointing - Undo file changes
See Real Examples
Code Review - Comprehensive review workflows
Get Help
FAQ - Common questions
Troubleshooting - Solve problems
In-App Help: Type
/helpanytime
Practice Exercise
Start Tabnine CLI
Start the CLI:
tabnine
List files
Ask:
What files are in this directory?
Read a file
Ask:
Explain what @package.json contains
Get help
Type:
/help
Change model
Type:
/model and explore options
Ask about code
Ask:
What are the best practices for error handling?
Congratulations! You're now ready to use Tabnine CLI effectively. Happy coding! 🎉
Last updated
Was this helpful?
