This is a new subcommand (which should be written entirely in Rust) that can download the newest deno executable.
Something like this:
std::env::current_exe() with new.Should not use github API. Use https://github.com/denoland/deno_install/blob/master/install.sh for guidance.
Talk about the problems encountered before
In Windows, after downloading a new Deno executable, the file cannot be replaced directly because the file is using by process
Solution:
rename executable to another name executable_old
and move executable_new to executable
There are already some Deno version management tools
https://github.com/axetroy/dvm
https://github.com/justjavac/dvm
https://github.com/imbsky/dvm
Is it possible that I can work on it ?
@bartOssh go for it
Done in #4328
Most helpful comment
@bartOssh go for it