warning
Documentation is currently for moon v2 and latest proto. Documentation for moon v1 has been frozen and can be found here.
bin
The moon bin <toolchain> command will return an absolute path to a tool's binary within the
toolchain. If a tool has not been configured or installed, this will return a 1 or 2 exit code with
no value respectively.
$ moon bin node
/Users/example/.proto/tools/node/x.x.x/bin/node
A tool is considered "not configured" when not in use, for example, querying yarn/pnpm when the package manager is configured for "npm". A tool is considered "not installed", when it has not been downloaded and installed into the tools directory.
Arguments
<toolchain>- Name of the toolchain to query.