Add documents to manage multiple versions on Windows with Scoop (#91)

This commit is contained in:
木杉 2019-12-11 11:05:48 +08:00 committed by Ry Dahl
parent 654d0ea309
commit 7bdb161ab5

View file

@ -68,6 +68,19 @@ asdf global deno 0.2.10
asdf local deno 0.2.10
```
**With [Scoop](https://github.com/lukesampson/scoop/wiki/Switching-Ruby-And-Python-Versions):**
```sh
# Install a specific version of deno:
scoop install deno@0.22.0
# Switch to v0.22.0
scoop reset deno@0.22.0
# Switch to the latest version
scoop reset deno
```
## Environment Variables
- `DENO_INSTALL` - The directory in which to install Deno. On Linux, this defaults to `$HOME/.local`.