On this page
deno upgrade
Command line usage
deno upgrade [OPTIONS] [VERSION]...
Upgrade deno executable to the given version.
Latest Jump to heading
deno upgrade
Specific version Jump to heading
deno upgrade 1.45.0
deno upgrade 1.46.0-rc.1
deno upgrade 9bc2dd29ad6ba334fd57a20114e367d3c04763d4
Channel Jump to heading
deno upgrade stable
deno upgrade rc
deno upgrade canary
The version is downloaded from https://dl.deno.land
and is used to replace the current executable.
If you want to not replace the current Deno executable but instead download an update to a
different location, use the --output
flag:
deno upgrade --output $HOME/my_deno
Upgrade options Jump to heading
--dry-run
Jump to heading
Perform all checks without replacing old exe.
--force
Jump to heading
Short flag: -f
Replace current exe even if not out-of-date.
--output
Jump to heading
The path to output the updated version to.
Options Jump to heading
--cert
Jump to heading
Load certificate authority from PEM encoded file.