For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Install Tabnine CLI on your system.

Installed the Tabnine plugin for OpenCode? That installer reassigns the tabnine command to the newer, opencode-based CLI and renames this one to tabnine-legacy. Every command on this page then applies unchanged under tabnine-legacy. See Install.

Prerequisites

  • Node.js 22.23.4+, 24.22.1+, or 26.12.1+

  • Access to a tabnine host

  • Tabnine Agents enabled for your team

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

export TABNINE_HOST="<YOUR TABNINE HOST>"
curl $TABNINE_HOST/update/cli/installer.mjs | node --input-type=module - $TABNINE_HOST

Windows PowerShell

$env:TABNINE_HOST = "<YOUR TABNINE HOST>"
irm $env:TABNINE_HOST/update/cli/installer.mjs | node --input-type=module - $env:TABNINE_HOST

Windows CMD

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 Properties → Environment 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

"Command not found: tabnine"

Solution: Ensure Tabnine CLI is in your PATH:

"Node.js not found"

Solution: Install Node.js 22.23.4+, 24.22.1+, or 26.12.1+ from nodejs.org

Installation Fails

Common causes:

  • No access to tabnine host

  • Node.js version too old

  • Insufficient permissions

Solutions:

  • Check network connection

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

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

Authentication Fails

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.

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

Uninstall

To remove Tabnine CLI:

macOS, Linux, WSL

Windows

Then remove the installation directory from your PATH.

Last updated

Was this helpful?