1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02: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
+2 -2
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`