deno upgrade
Command line usage
deno upgrade [OPTIONS] [VERSION]...Upgrade deno executable to the given version.
Latest
deno upgrade
Specific version
deno upgrade 1.45.0
deno upgrade 1.46.0-rc.1
deno upgrade 9bc2dd29ad6ba334fd57a20114e367d3c04763d4
Channel
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
--dry-run
Perform all checks without replacing old exe.
--force
Short flag: -f
Replace current exe even if not out-of-date.
--output
The path to output the updated version to.
Options
--cert
Load certificate authority from PEM encoded file.
© 2018–2024 the Deno authors
Licensed under the MIT License.
https://docs.deno.com/runtime/reference/cli/upgrade