92bad89f8a9141fcdc0b682941ee46729b6e4cb6

Author
Arthur <82575487+arthur-mountain@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

docs(asdf): update usage example (#13055)

Diff

 1diff --git a/plugins/asdf/README.md b/plugins/asdf/README.md
 2index e8ff2d740216d00e81e39159a66fa32ceb0fc486..69db6930a078736fb17d72d491782aba0ca75db5 100644
 3--- a/plugins/asdf/README.md
 4+++ b/plugins/asdf/README.md
 5@@ -19,21 +19,30 @@ Example for installing the nodejs plugin and the many runtimes for it:
 6 
 7 ```sh
 8 # Add plugin to asdf
 9-asdf plugin add nodejs 
10+asdf plugin add nodejs
11 
12-# Install the latest available nodejs runtime version
13+# Install the latest available version
14 asdf install nodejs latest
15 
16-# Install nodejs v16.5.0 runtime version
17+# Uninstall the latest version
18+asdf uninstall nodejs latest
19+
20+# Install a specific version
21 asdf install nodejs 16.5.0
22 
23-# Set the latest version in .tools-version in the current working directory
24+# Set the latest version in .tool-versions of the `current directory`
25 asdf set nodejs latest
26 
27-# Set a version globally that will apply to all directories under $HOME
28-asdf set -u nodejs 16.5.0
29+# Set a specific version in the `parent directory`
30+asdf set -p nodejs 16.5.0   # -p is shorthand for --parent
31+
32+# Set a global version under `$HOME`
33+asdf set -u nodejs 16.5.0   # -u is shorthand for --home
34 ```
35 
36+For more commands, run `asdf help` or refer to the
37+[asdf CLI documentation](https://asdf-vm.com/manage/commands.html#all-commands).
38+
39 ## Maintainer
40 
41 - [@RobLoach](https://github.com/RobLoach)