Before you can start writing Toit apps and deploy them on your hardware, you need to install the Toit command-line interface (CLI) locally on your computer.

The Toit CLI is used for interacting with the Toit console and your hardware.


Toit comes with a language server, which works with most modern editors. However, we recommend to use the Toit Language Extension for Visual Studio Code as it is the most tested, and has more features. You can download Visual Studio Code here.

Install the Toit CLI

Download the Toit installer

Download the Toit installer for Windows and follow the instructions in the installer.


Type toit in a terminal window.

The output of running


in a terminal window is a list of all available commands in the Toit CLI.

Install the Toit SDK and the Toit language extension

Next, install the latest released Toit SDK on your computer by running the CLI command:

toit doctor fix

If you have installed Visual Studio Code, the same command also installs the Toit language extension for VSCode.

The command

toit doctor

reports the health status of your local Toit installation. Its output should look like this:

Toit health:
  [OK] Toit SDK
  [OK] Visual Studio Code
  [OK] Toit CLI
Toit Language Extension

The Toit Language Extension is currently only supported for Visual Studio Code.