mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-22 10:01:27 +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:
|
||||
|
||||
```
|
||||
mkdir -p ~/bin/
|
||||
curl https://cht.sh/:cht.sh > ~/bin/cht.sh
|
||||
chmod +x ~/bin/cht.sh
|
||||
PATH_DIR="$HOME/bin" # or another directory on your $PATH
|
||||
mkdir -p "$PATH_DIR"
|
||||
curl https://cht.sh/:cht.sh > "$PATH_DIR/cht.sh"
|
||||
chmod +x "$PATH_DIR/cht.sh"
|
||||
```
|
||||
|
||||
or to install it globally (for all users):
|
||||
|
Loading…
Reference in New Issue
Block a user