macOS x64 binary distribution package for the moon repository management tool
—
Pending
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Pending
The risk profile of this skill
Commands for managing development tools, runtime environments, and toolchain plugins within the moon workspace.
Return the absolute path to a tool's binary within the moon toolchain.
moon bin <tool>Arguments:
tool (required) - The name of the tool to query (e.g., "node", "npm", "pnpm", "yarn")Usage Examples:
# Get path to Node.js binary
moon bin node
# Output: /home/user/.moon/tools/node/18.17.0/bin/node
# Get path to npm binary
moon bin npm
# Use in scripts
NODE_PATH=$(moon bin node)
$NODE_PATH --versionSpecial commands for working with Node.js within the moon environment.
moon node <subcommand>Subcommands:
Execute a package.json script within a project using the moon-managed Node.js installation.
moon node run-script <script> [--project <ID>]Arguments:
script (required) - Name of the script to run from package.jsonOptions:
--project <ID> - Project ID to run the script in (defaults to current directory project)Usage Examples:
# Run a script in the current project
moon node run-script build
# Run a script in a specific project
moon node run-script test --project my-app
# Run development server
moon node run-script devManage toolchain plugins that provide language and tool support.
moon toolchain <subcommand>Subcommands:
Add and configure a new toolchain plugin in the workspace.
moon toolchain add <plugin> [--to <PATH>]Arguments:
plugin (required) - Plugin identifier or URLOptions:
--to <PATH> - Configuration file path (defaults to .moon/toolchain.yml)Usage Examples:
# Add Node.js toolchain plugin
moon toolchain add node
# Add a custom plugin from URL
moon toolchain add https://github.com/example/moon-plugin
# Add plugin to specific config file
moon toolchain add rust --to ./rust-toolchain.ymlDisplay detailed information about a configured toolchain plugin.
moon toolchain info <plugin> [--json]Arguments:
plugin (required) - Name of the plugin to queryOptions:
--json - Output information in JSON formatUsage Examples:
# Show info about Node.js plugin
moon toolchain info node
# Get plugin info as JSON
moon toolchain info node --jsonToolchain behavior is configured in .moon/toolchain.yml:
# Example toolchain configuration
node:
version: "18.17.0"
packageManager: "npm"
syncProjectWorkspaceDependencies: true
python:
version: "3.11.0"
syncProjectWorkspaceDependencies: falseMoon supports automatic installation and management of:
Moon ensures consistent tool versions across all environments:
# Check installed tool versions
moon toolchain info node
# Update tool version in configuration
# Edit .moon/toolchain.yml, then run:
moon setupCustom toolchain plugins can be developed to support additional languages and tools. Plugins define: