Install Tabnine CLI on your system.
Node.js version 20 or higher
Download and Install
Run the appropriate command for your platform. Replace <YOUR TABNINE HOST> with the URL of your tabnine console (For example: https://console.tabnine.com):
macOS, Linux, WSL
Copy export TABNINE_HOST = " <YOUR TABNINE HOST> "
curl $TABNINE_HOST /update/cli/installer.mjs | node --input-type=module - $TABNINE_HOST Windows PowerShell
Copy $ env:TABNINE_HOST = " <YOUR TABNINE HOST> "
irm $ env:TABNINE_HOST / update / cli / installer.mjs | node -- input - type = module - $ env:TABNINE_HOST
Copy set TABNINE_HOST = " <YOUR TABNINE HOST> "
curl % TABNINE_HOST % / update / cli /installer.mjs | node -- input - type = module - % TABNINE_HOST % After installation, add Tabnine CLI to your PATH.
macOS, Linux, WSL
The default installation location is:
Note : ~/.local/ is different than /local/. If you don't have a ~/.local/ folder, create it first:
Add to your PATH by adding this line to your shell configuration file (~/.bashrc, ~/.zshrc, etc.):
Then reload your shell configuration:
The installer should add Tabnine CLI to your PATH automatically. If not, add the installation directory manually:
Open System Properties
Open System Properties → Environment Variables .
Edit User Path
Under User variables , select Path and click Edit .
Add Directory
Add the Tabnine CLI installation directory.
Verify Installation
Check that Tabnine CLI is correctly installed:
You should see the version number displayed.
Start Tabnine CLI:
On first run, you'll be prompted to sign in to Tabnine:
Press OK when prompted for authentication.
Your browser will open to tabnine.com.
If you're already signed in, authentication will be automatic.
If not, log in with your Tabnine credentials.
Return to the terminal - you're ready to use Tabnine CLI!
Troubleshooting
chevron-right "Command not found: tabnine"hashtag Solution: Ensure Tabnine CLI is in your PATH:
chevron-right "Node.js not found"hashtag chevron-right Installation Failshashtag Common causes:
No access to tabnine host
Solutions:
Update Node.js: node --version (should be 20+)
On Unix systems, ensure ~/.local/bin has write permissions
chevron-right Authentication Failshashtag Updating Tabnine CLI
Tabnine CLI checks for updates automatically. To manually update, re-run the installer according to the installation instructions .
Sometimes, you will be prompted to restart Tabnine CLI following an update. This will typically happen at the beginning of a session, as seen here:
You may be asked to re-run Tabnine after an update To remove Tabnine CLI:
macOS, Linux, WSL
Then remove the installation directory from your PATH.