Skip to content

Commit fc9c953

Browse files
authored
an example for cht.sh installation into /usr/local/bin (fixes #119)
1 parent 95b3835 commit fc9c953

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,18 @@ has several useful features compared to querying the service directly with `curl
202202
To install the client:
203203

204204
```
205+
mkdir -p ~/bin/
205206
curl https://cht.sh/:cht.sh > ~/bin/cht.sh
206207
chmod +x ~/bin/cht.sh
207208
```
209+
210+
or to install it globally (for all users):
211+
212+
```
213+
curl https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh
214+
chmod +x /usr/local/bin/cht.sh
215+
```
216+
208217
Note: The package "rlwrap" is a required dependency to run in shell mode. Install this using `sudo apt install rlwrap`
209218

210219
### Client usage

0 commit comments

Comments
 (0)