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_HOST

Windows PowerShell

$env:TABNINE_HOST = <YOUR TABNINE HOST> #(For example: https://console.tabnine.com)
irm $env:TABNINE_HOST/update/cli/installer.mjs | node - $env:TABNINE_HOST

Windows 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:

1

Open System Properties

Open System PropertiesEnvironment Variables.

2

Edit User Path

Under User variables, select Path and click Edit.

3

Add Directory

Add the Tabnine CLI installation directory.

4

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:

1

Press OK when prompted for authentication.

2

Your browser will open to tabnine.com.

3

If you're already signed in, authentication will be automatic.

4

If not, log in with your Tabnine credentials.

5

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

Solution: Install Node.js version 20 or higher from nodejs.orgarrow-up-right

chevron-rightInstallation Failshashtag

Common causes:

  • No internet connection

  • Node.js version too old

  • Insufficient permissions

Solutions:

  • Check internet connection

  • Update Node.js: node --version (should be 20+)

  • On Unix systems, ensure ~/.local/bin has write permissions

chevron-rightAuthentication Failshashtag

Solution: See the Troubleshooting section.

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?