Skip to content

Commit 5437073

Browse files
authored
docs: update installation instructions for setting Bash Unit version in asdf (#1)
1 parent a477500 commit 5437073

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,14 @@ For development (optional):
6363
```
6464
3. Set the version (choose one)
6565
```bash
66-
# Project-local
67-
asdf local bash-unit <version>
66+
# In current directory (.tool-versions in cwd)
67+
asdf set bash-unit <version>
6868

69-
# Global (all shells)
70-
asdf global bash-unit <version>
69+
# In $HOME (.tool-versions in home)
70+
asdf set -u bash-unit <version>
71+
72+
# In nearest parent .tool-versions
73+
asdf set -p bash-unit <version>
7174
```
7275
4. Optional: avoid API rate limits for version discovery
7376
- Some commands (e.g., [bin/list-all](bin/list-all), [bin/latest-stable](bin/latest-stable)) may query GitHub.
@@ -90,8 +93,14 @@ For development (optional):
9093
```
9194
- Switch versions
9295
```bash
93-
asdf local bash-unit <version> # in a project
94-
asdf global bash-unit <version> # for your user
96+
# set in current directory (.tool-versions)
97+
asdf set bash-unit <version>
98+
99+
# set in $HOME (.tool-versions in home)
100+
asdf set -u bash-unit <version>
101+
102+
# set in nearest parent .tool-versions
103+
asdf set -p bash-unit <version>
95104
```
96105
- Verify the shim and path
97106
```bash

0 commit comments

Comments
 (0)