Skip to main content
How to install Track CLI

A guide to install Track CLI (allows local IDE usage during the exam)

Trackカスタマーサクセスチーム avatar
Written by Trackカスタマーサクセスチーム
Updated over a month ago

In this article, we will explain in detail:

  1. How to install

  2. How to fix errors

  3. How to uninstall

1.How to install

Uninstalling Older Versions (run if necessary)

If you have Track CLI v2 and earlier versions installed, you will need to uninstall the older versions prior to installing Track CLI (v3 or later).

Start the terminal application and execute the following command:

For Linux and MacOS

sudo rm "$(which track)"

For Windows

rmdir /s %homepath%\.track

Installing Node.js

Track CLI requires Node.js v16 or later.

We recommend the following methods for official website

Download the installer from the official website

Install using nvm (Node Version Manager)

Once Node.js is installed, launch the terminal application and execute each of the following commands. If the correct version is displayed, you have succeeded.

node --version
npm --version

Installing Track CLI

Execute the following command in the terminal application.

The Track CLI will be installed.

npm install --global track-cli
track --version

2.How to fix errors

If you ran into an error, these could be the reason why:

1) You are connecting through a proxy server

If you are using a proxy server, you need to set the following environment variables.

[NOTE] track CLI only supports Basic authentication.

[NOTE] How to set up proxy servers depends on the environment you are using.

[NOTE] If you have further questions, please contact your network administrator.

Track CLI v2 or earlier migration guide

If you were using Track CLI v2 or earlier, please reconfigure your environment variables as follows

  1. If PROXY_USER and PROXY_PASSWORD are not set (if you do not need proxy server authentication), leave the value of HTTP_PROXY as it is. Then, go to 4.

  2. Connect the PROXY_USER and PROXY_PASSWORD values with :.

  3. Insert the value from 1. immediately after http:// in HTTP_PROXY, followed by @.

  4. Copy the value of HTTP_PROXY into HTTPS_PROXY as well.

Example of previous environment variables:

> PROXY_USER`: myuser.

> PROXY_PASSWORD: mypassword

New environment variable example:

> HTTP_PROXY: http://myuser:mypassword@proxy.example.co.jp

> HTTPS_PROXY: http://myuser:mypassword@proxy.example.co.jp

2) Other reasons

If you tried the steps above and still have issues, please contact us via Support Chat.

3.How to uninstall

Run the following command in your terminal.

npm remove --global track-cli
Did this answer your question?