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

Merge pull request #331 from Albonycal/patch-1

Improved installation instructions
This commit is contained in:
Igor Chubin 2022-04-18 20:42:05 +02:00 committed by GitHub
commit 571377f2f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,8 +218,7 @@ 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`