After a 6-month beta that started in February, GitHub CLI 1.0 stable version has been released to help developers to reduce the frequent switching between the terminal and the GitHub portal, and allow them to focus more in building their workflows.
The beta program saw users creating over 250,000 pull requests, with 350,000 merges, and over 20,000 issues covered with GitHub CLI.
GitHub CLI 1.0 functionalities available for workflow
GitHub CLI 1.0 is now available for download on Windows, macOS, and Linux, which avails developers the use of GitHub CLI for their entire workflow.
The available functionalities for GitHub CLI 1.0 are as follows:
- Easily Connect to GitHub Enterprise Server.
- Ability to Run the entire GitHub workflow from terminal.
- Call up the GitHub API to script any action and set a custom alias for commands.
Additionally, GitHub CLI 1.0 allows you to create aliases for any command using gh alias and you have the powerful gh api to access the GitHub API directly, with no limit to what you can do with gh. For more command details, you can check the official GitHub CLI manual.
How to install GitHub CLI 1.0?
As mentioned above, GitHub CLI 1.0 is available for Windows, macOS, and Linux. If you want to install the GitHub CLI, you'll simply need to run the following commands for the respective platform:
For Windows, the command is as follows:
scoop bucket add github-gh https://github.com/cli/scoop-gh.git scoop install gh
For macOS, the command is as follows:
brew install github/gh/gh
And the installation command for various Linux distributions is available here.