Skip to main content

bin

The proto bin <tool> [version] command will return an absolute path to a tool's binary within the toolchain. When a tool has not been installed, or a version cannot be resolved, the command will exit with a failure.

$ proto bin node 16.10.0
/Users/example/.proto/tools/node/16.10.0/bin/node

Arguments

  • <tool> - Type of tool.
  • [version] - Version of tool. If not provided, will attempt to detect the version.

Options

  • --bin - When applicable, return the ~/.proto/bin path.
  • --shim - When applicable, return the ~/.proto/shims path.