Using Aleph with Deno found a bug, with the inpatible versions and I need to downgrade.
How I can downgrade the deno version from 1.8.1
to 1.6.3
without uninstalling it?
Using Aleph with Deno found a bug, with the inpatible versions and I need to downgrade.
How I can downgrade the deno version from 1.8.1
to 1.6.3
without uninstalling it?
3 Answers
Reset to default 14You can use deno upgrade
mand with specified version for upgrade or downgrade the deno.
deno upgrade --version 1.6.3
I use dvm
(an alternative to node's nvm) to have various deno versions installed (for aleph.js
). One can easily switch the version using dvm use VERSION
mand.
dvm use 1.8.2
upgrade/downgrade :
deno upgrade --version 2.0.0
after upgrading you might need to reload the lock cache
with --write-lock
param
or manually remove them
rm deno.lock
for monorepos
find . -name "deno.lock" -type f -delete