Install and Configure Packages#

Follow these steps to install and set up the Command Line Development environment.

  1. Download SLT from the Command Line Development page.

  2. Create the recipe file, cli_tool.toml, per the instructions in Packages to Install with SLT.

  3. Edit the path system variable to add the slt path.

    • In Windows, type Edit System Variables in the search field to find the System Properties pop-up.

    • Select Environment Variables.

    • Edit the 'Path' variable.

    • Click Browse to add the slt executable from the expanded zip file that was downloaded in step 1.

  4. Open a terminal or command prompt.

  5. Change the directory by typing cd to the users\USERNAME folder and enter the command, slt install –f cli_tools.toml.

  6. Add the paths to Java and slc_cli to the path system variable. The paths are your .silabs folder. The names might be slightly different, depending on the version of the package you have.

    • .silabs\slt\installs\archive\java21-v21.0.5\java21_windows_x86_64\jre\bin

    • .silabs\slt\installs\archive\slc_cli_base-v6.0.9\slc_cli

  7. Configure SLC for the toolchain and SDK to be used. The SDK also needs to be trusted for SLC to use the SDK in project operations:

    • slc configuration –s .silabs\slt\installs\conan\p\simpldxxxxx\p

    • slc signature trust

    • slc configuration –gcc .silabs\slt\installs\conan\p\gcc-xxxxx\p