dfxvm-init
Reference
When invoked as dfxvm-init
, dfxvm
performs one-time installation tasks.
By default, installs the latest version of dfx, and gives you an opportunity to customize the installation.
Usage
dfxvm-init [--dfx-version <version>] [--yes]
Options
Option | Description |
---|---|
--dfx-version <version> | The version of dfx to install. Defaults to the latest dfx version |
--yes | Skip confirmation prompt |
--no-modify-path | Do not alter profile scripts to modify the PATH environment variable |
Examples
Install dfxvm and the latest version of dfx, with an opportunity to customize the installation
dfxvm-init
Install dfxvm and dfx 0.14.4, with an opportunity to customize the installation
dfxvm-init --dfx-version 0.14.4
Install dfxvm and the latest version of dfx without prompting for confirmation
dfxvm-init --yes