Skip to content

Install

A helper command to enable you to install global access to your oneRepo CLI. This allows you to run your CLI by name from anywhere within your repository without needing to know the path to the original binary.

Install the oneRepo CLI into your environment.

Terminal window
one install [options...]
OptionTypeDescription
--forcebooleanForce installation regardless of pre-existing command.
--locationstringInstall location for the binary. Default location is chosen as default option for usr/bin dependent on the OS type.
--versionstring, default: "1.2.0"Version of oneRepo to install. Defaults to the current version.
Advanced options
OptionTypeDescription
--show-advancedbooleanPair with --help to show advanced options.