Reputation: 101
Using Aleph with Deno found a bug, with the incompatible versions and I need to downgrade.
How I can downgrade the deno version from 1.8.1
to 1.6.3
without uninstalling it?
Upvotes: 7
Views: 2896
Reputation: 4778
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
Upvotes: 0
Reputation: 11
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
command.
dvm use 1.8.2
Upvotes: 1
Reputation: 1585
You can use deno upgrade
command with specified version for upgrade or downgrade the deno.
deno upgrade --version 1.6.3
Upvotes: 14