Starting toolchain environment

nRF Util

tags
nRF Util

Once you've installed your toolchain, you can start the toolchain environment using the following commands:

  • nrfutil toolchain-manager env - lets you inspect the environment variables which sets up the toolchain environment. Use the --as-script flag to output a script to set these up for you (supported shells can be seen in the command line tool itself).
  • nrfutil toolchain-manager launch - lets you launch commands in the environment directly. It also supports launching a new terminal or shell in the given toolchain environment.

You need to use the toolchain environment to run the SDK commands based on west, for example when initiating the SDK or updating repositories or tools.