Install and Configure Packages#
Follow these steps to install and set up the Command Line Development environment.
Download SLT from the Command Line Development page.
Create the recipe file,
cli_tool.toml
, per the instructions in Packages to Install with SLT.Edit the
path
system variable to add theslt
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.
Open a terminal or command prompt.
Change the directory by typing
cd
to theusers\USERNAME
folder and enter the command,slt install –f cli_tools.toml
.Add the paths to Java and
slc_cli
to thepath
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
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