mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-22 18:17:38 +03:00
README - small changes - for those newer to sh
This is something we take for granted but newcomers to sh, Linux, and so on.
This commit is contained in:
parent
815df01c7d
commit
09811e64c6
@ -205,9 +205,10 @@ has several useful features compared to querying the service directly with `curl
|
|||||||
To install the client:
|
To install the client:
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir -p ~/bin/
|
PATH_DIR="$HOME/bin" # or another directory on your $PATH
|
||||||
curl https://cht.sh/:cht.sh > ~/bin/cht.sh
|
mkdir -p "$PATH_DIR"
|
||||||
chmod +x ~/bin/cht.sh
|
curl https://cht.sh/:cht.sh > "$PATH_DIR/cht.sh"
|
||||||
|
chmod +x "$PATH_DIR/cht.sh"
|
||||||
```
|
```
|
||||||
|
|
||||||
or to install it globally (for all users):
|
or to install it globally (for all users):
|
||||||
|
Loading…
Reference in New Issue
Block a user