mirror of
https://github.com/chubin/cheat.sh.git
synced 2025-01-06 04:16:04 +03:00
an example for cht.sh installation into /usr/local/bin (fixes #119)
This commit is contained in:
parent
95b38358d0
commit
fc9c953e10
@ -202,9 +202,18 @@ 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
|
||||
```
|
||||
|
||||
or to install it globally (for all users):
|
||||
|
||||
```
|
||||
curl https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh
|
||||
chmod +x /usr/local/bin/cht.sh
|
||||
```
|
||||
|
||||
Note: The package "rlwrap" is a required dependency to run in shell mode. Install this using `sudo apt install rlwrap`
|
||||
|
||||
### Client usage
|
||||
|
Loading…
Reference in New Issue
Block a user