File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -202,9 +202,18 @@ has several useful features compared to querying the service directly with `curl
202202To 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+
208217Note: 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
421430You 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 ) .
424433It 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
You can’t perform that action at this time.
0 commit comments