FAQ
Common questions and answers about using Tabnine CLI.
General
What is Tabnine CLI?
Tabnine CLI is an AI-powered coding assistant that runs in your terminal. It helps you write, understand, and improve code using advanced AI models.
What can Tabnine CLI do?
Answer questions about your code
Review and improve code quality
Generate new code
Search large codebases (Remote Code Search)
Provide best practices (Coaching Guidelines)
Read, write, and analyze files
Execute shell commands safely
Do I need an internet connection?
You need access to your Tabnine services endpoint (cloud or self‑hosted). Public internet isn’t required if your organization runs Tabnine in an air‑gapped environment.
Getting Started
Using Tabnine CLI
What commands are available?
Type /help to see all commands. Key ones:
/help- Show help/model- Change AI model/settings- Configure/clear- Clear conversation/exit- Exit
Can Tabnine CLI modify my files?
Yes, but only with your explicit confirmation. It will:
Review proposed changes: Tabnine CLI shows the proposed changes to the file(s).
Ask for confirmation: You must explicitly approve the changes.
Apply changes: Changes are applied only if you approve them.
Features
What is Remote Code Search?
Remote Code Search lets you search across large codebases using Tabnine's cloud indexing. It's fast, semantic, and works across millions of lines of code.
What are Coaching Guidelines?
AI-powered coding best practices tailored to your codebase. Get security recommendations, architecture patterns, and code quality guidance.
What tools are built-in?
File operations (read, write, search)
Shell commands
Remote Code Search
Coaching Guidelines
Code analysis
Enterprise/Corporate
Troubleshooting
Why is Tabnine CLI slow?
Common causes:
Slow network connection
Large file context
Complex prompts
Solutions:
Check network speed
Be more specific in prompts
Reduce file references
Try a different model with
/model
"Command not found: tabnine"
Verify Tabnine CLI is installed and in your PATH. See the Installation Guide for setup instructions.
Why can't Tabnine CLI access my files?
Check file permissions.
Ensure the user running Tabnine has permission to read the files.
Verify working directory.
Confirm you're in the correct working directory.
Use absolute or correct relative paths.
Try absolute paths or adjust relative paths to point to the correct files.
Performance
How can I make Tabnine CLI faster?
Be specific in prompts
Narrow prompts to reduce processing.
Limit file context
Reduce the number or size of referenced files.
Choose faster models
Select models optimized for latency via /model.
Use local search for recent changes
Prefer local search when working with very recent edits.
Check network connection
Ensure stable and fast network access.
How much memory does it use?
Typically 50-200 MB depending on:
Conversation history
Files referenced
Model complexity
Privacy & Security
What data does Tabnine CLI send?
Sent:
Your prompts
Referenced file content
Not Sent:
Entire codebase
Unreferenced files
Secrets/credentials
Is my code stored on Tabnine servers?
Code in prompts may be processed and logged for service improvement. See Tabnine's privacy policy for details.
Advanced
Common Errors
"Failed to connect to Tabnine API"
Check internet:
ping api.tabnine.comCheck proxy settings
Verify firewall allows port 443
Try debug mode:
DEBUG=1 tabnine
Getting More Help
Where can I get more help?
In-App Help: Type
/helpin Tabnine CLITroubleshooting: See Common Issues
Report Issues: Use
/bugcommand
Didn't find your answer? Use the /bug command in Tabnine CLI to report issues or ask questions.
Last updated
Was this helpful?
