1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-22 01:40:48 +03:00

Improved installation instructions

`curl` using the `-s` 
and added missing `sudo`
This commit is contained in:
Albony Cal 2022-03-13 13:14:41 +05:30 committed by GitHub
parent 46d1a5f73c
commit b2cbf519e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,8 +218,8 @@ chmod +x "$PATH_DIR/cht.sh"
or to install it globally (for all users):
```bash
curl https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh
chmod +x /usr/local/bin/cht.sh
curl -s https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh
sudo 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`