Skip to content

Commit b73c566

Browse files
committed
chore(readme): add more clear way to install cargo crate
1 parent 30cedaa commit b73c566

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ Or install it as a cargo crate
2626
cargo install switcher --version <LATEST_VERSION>
2727
```
2828

29+
If you just don't know the version to use
30+
31+
```sh
32+
cargo install switcher --version (cargo search switcher --limit 1 | head -n 1 | cut -d ' ' -f 3 | sed -e 's/"//g')
33+
```
34+
2935
## Build
3036

3137
```sh

0 commit comments

Comments
 (0)