From 7bdb161ab57958adfb2410c38a2bdb44c0e7f611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E6=9D=89?= Date: Wed, 11 Dec 2019 11:05:48 +0800 Subject: [PATCH] Add documents to manage multiple versions on Windows with Scoop (#91) --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 3d566cc..4e2ebee 100644 --- a/README.md +++ b/README.md @@ -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`.