Skip to content

Commit 3abfefa

Browse files
authored
Update install commands with asdf (#1405)
This commit fixes the install commands with `asdf` as they seem to have been updated. Ref: https://asdf-vm.com/guide/getting-started.html#_4-install-a-plugin
1 parent 11a7014 commit 3abfefa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

runtime/getting_started/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ nix-shell -p deno
5454
Using [asdf](https://asdf-vm.com/):
5555

5656
```shell
57-
asdf plugin-add deno https://github.com/asdf-community/asdf-deno.git
57+
asdf plugin add deno https://github.com/asdf-community/asdf-deno.git
5858

5959
# Download and install the latest version of Deno
6060
asdf install deno latest
6161

6262
# To set as the default version of Deno globally
63-
asdf global deno latest
63+
asdf set -u deno latest
6464

6565
# To set as the default version of Deno locally (current project only)
66-
asdf local deno latest
66+
asdf set deno latest
6767
```
6868

6969
Using [vfox](https://vfox.lhan.me/):
@@ -154,16 +154,16 @@ nix-shell -p deno
154154
Using [asdf](https://asdf-vm.com/):
155155

156156
```shell
157-
asdf plugin-add deno https://github.com/asdf-community/asdf-deno.git
157+
asdf plugin add deno https://github.com/asdf-community/asdf-deno.git
158158

159159
# Download and install the latest version of Deno
160160
asdf install deno latest
161161

162162
# To set as the default version of Deno globally
163-
asdf global deno latest
163+
asdf set -u deno latest
164164

165165
# To set as the default version of Deno locally (current project only)
166-
asdf local deno latest
166+
asdf set deno latest
167167
```
168168

169169
Using [vfox](https://vfox.lhan.me/):

0 commit comments

Comments
 (0)