-
Notifications
You must be signed in to change notification settings - Fork 3
Command install
Available since v0.1.0.
Download and install the latest or the specific Deno from network. It will skip the download step if binary file was downloaded.
dvm install [version] [--registry=<registry>]
-
version
Specify the installing Deno version. DVM will install the version read from
.dvmrc
file, or the latest Deno version if theversion
parameter is not provided. -
--registry=<registry>
Since v0.3.4.
Specify the Deno binary files downloading registry, and the registry downloading link must be
<registry>/<version>/deno_<os_arch>.[gz|zip]
. Default ishttps://github.com/denoland/deno/releases/download
. -
--quiet
Since v0.6.0
Run command with quiet mode, it'll hide most of the output messages.
-
Install the latest Deno (no
.dvmrc
file in the current directory):dvm install # No .dvmrc file found # # try to getting deno latest version ... # Downloading and installing deno v1.15.2... # Deno v1.15.2 has installed.
-
Install the specific Deno:
dvm install v1.0.0 # Downloading and installing deno v1.0.0... # Deno v1.0.0 has installed.
-
Install with
.dvmrc
file:cat .dvmrc # v1.0.0 dvm install # Downloading and installing deno v1.0.0... # Deno v1.0.0 has installed.