Installation
Install Tabnine CLI on your system.
Prerequisites
Node.js version 20 or higher
Internet connection for downloading and authentication
Download and Install
Run the appropriate command for your platform:
macOS, Linux, WSL
export TABNINE_HOST=<YOUR TABNINE HOST> #(For example: https://console.tabnine.com)
curl $TABNINE_HOST/update/cli/installer.mjs | node - $TABNINE_HOSTWindows PowerShell
$env:TABNINE_HOST = <YOUR TABNINE HOST> #(For example: https://console.tabnine.com)
irm $env:TABNINE_HOST/update/cli/installer.mjs | node - $env:TABNINE_HOSTWindows CMD
set TABNINE_HOST=<YOUR TABNINE HOST> & :: (For example: https://console.tabnine.com)
curl %TABNINE_HOST%/update/cli/installer.mjs | node - %TABNINE_HOST%Add to PATH
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:
Windows
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.
Save
Click OK to save.
Verify Installation
Check that Tabnine CLI is correctly installed:
You should see the version number displayed.
First Run
Start Tabnine CLI:

Authentication
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
Updating Tabnine CLI
Tabnine CLI checks for updates automatically. To manually update, re-run the installer according to the installation instructions
Uninstall
To remove Tabnine CLI:
macOS, Linux, WSL
Windows
Then remove the installation directory from your PATH.
Last updated
Was this helpful?
