Skip to main content
info

Documentation is currently for moon v2 and latest proto. Documentation for moon v1 has been frozen and can be found here.

setup

The moon setup command can be used to setup the developer and pipeline environments. It achieves this by downloading and installing all configured toolchains.

As of v2.5, this command also sets up each toolchain's environment when their dependency root is the workspace root itself. Nested dependency roots will not be setup, as they are expected to be setup by their parent project.

$ moon setup
info

This command should rarely be used, as the environment is automatically setup when running other commands, like detecting affected projects, running a task, or generating a build artifact.

Configuration

  • * in .moon/toolchains.*