Skip to content

Commit 268c8e5

Browse files
committed
Merge branch 'master' of https://github.com/chubin/cheat.sh
2 parents 3172318 + 0089433 commit 268c8e5

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 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
@@ -420,13 +429,18 @@ because you know what happens when you do.
420429

421430
You can access cheat.sh from Windows command line too.
422431

423-
Use cheat.sh command line client for that: [cht.exe](https://github.com/tpanj/cht.exe).
432+
Use cheat.sh command line client for that: [`cht.exe`](https://github.com/tpanj/cht.exe).
424433
It supports:
425434

426435
* output colorization;
427436
* command line options;
428437
* its own configuration file.
429438

439+
You can also use [`scoop`](https://github.com/lukesampson/scoop) command-line installer for Windows to get it:
440+
```batch
441+
scoop install cht
442+
```
443+
430444
## Self-Hosting
431445

432446
### Docker
@@ -471,7 +485,7 @@ Features supported by cheat.sh plugins for different editors:
471485
|Prev/next answer | | || |
472486
|Multiple answers | || | |
473487
|Warnings as queries| | || |
474-
|Queries history | | || |
488+
|Queries history | | || |
475489
|Session id | | || |
476490
|Configurable server|| |||
477491

0 commit comments

Comments
 (0)