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.
Download the Toit installer for Windows and follow the instructions in the installer.
toit in a terminal window.
The output of running
in a terminal window is a list of all available commands in the Toit CLI.
Next, install the latest released Toit SDK on your computer by running the CLI command:
If you have installed Visual Studio Code, the same command also installs the Toit language extension for VSCode.
reports the health status of your local Toit installation. Its output should look like this:
The Toit Language Extension is currently only supported for Visual Studio Code.