April 2026
Intermediate
399 pages
11h 38m
English
If you work a lot in the terminal, it makes sense to call ChatGPT and others directly from there. There are various ways of doing this, two of which are described here: gh and sgpt.
The gh command enables you to carry out various GitHub actions directly in the terminal. gh is therefore a command-line interface (CLI) to the GitHub web interface. Installation instructions for Windows, Linux, and macOS can be found at https://github.com/cli/cli.
You must carry out authentication with gh auth before using it for the first time. Finally, you must install the gh extension, gh-copilot:
gh extension install github/gh-copilot
Assuming that you have ...
Read now
Unlock full access