Skip to content

Command install

Chen Su edited this page Oct 20, 2021 · 3 revisions

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.

Usage

dvm install [version] [--registry=<registry>]

Option Parameters

  • version

    Specify the installing Deno version, and DVM will install the latest Deno version if the version parameter is not provided.

  • --registry=<registry>

    Specify the Deno binary files downloading registry, and the registry downloading link must be <registry>/<version>/deno_<os_arch>.[gz|zip]. Default is https://github.com/denoland/deno/releases/download.

Example

  • Install the latest Deno:

    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.15.2...
    # Deno v1.0.0 has installed.
Clone this wiki locally