Upgrade GitHub cli

❔ About cli/cli

GitHub focuses more and more its users productivity and UX.

Target audience are :

Programmers/people making code (DEV, OPS, SECOPS, Network, DevSecOPS,..),
Team Managers,
SCRUM Masters,
Product Owners,
Security managers (…


This content originally appeared on DEV Community and was authored by SALES

❔ About cli/cli

GitHub focuses more and more its users productivity and UX.

Target audience are :

  • Programmers/people making code (DEV, OPS, SECOPS, Network, DevSecOPS,..),
  • Team Managers,
  • SCRUM Masters,
  • Product Owners,
  • Security managers (see organization-level security manager role),
  • DEVOPS engineers,

, ... and more generally every person how is engaged on the software creation, delivery and deployment pipeline.

To make userexperience always better they have released a dedicated cli : cli/cli/ :

GitHub logo cli / cli

GitHub’s official command line tool

GitHub CLI

gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.

screenshot of gh pr status

GitHub CLI is available for repositories hosted on GitHub.com and GitHub Enterprise Server 2.20+, and to install on macOS, Windows, and Linux.

Documentation

See the manual for setup and usage instructions.

Contributing

If anything feels off, or if you feel that some functionality is missing, please check out the contributing page. There you will find instructions for sharing your feedback, building the tool locally, and submitting pull requests to the project.

Installation

macOS

gh is available via Homebrew, MacPorts, Conda, Spack, and as a downloadable binary from the releases page.

Homebrew

Install: Upgrade:
brew install gh brew upgrade gh

MacPorts

Install: Upgrade:
sudo port install gh sudo port selfupdate && sudo

In addition to traditional git operations, you can smoothely interact on an - everyday - growing set of GitHub features.

🆙 Stay up-to-date

As any other software and as it is also maintained by an ever growing programmers community, cli/cli is often released.

Hence you often have to upgrade (the cli warns you about new release availability).

Fortunately it is distributed through brew wich makes uprgade process a real piece of cake

... making it possible to enjoy new features very easily.

🎬 Upgrade demo

To upgrade things are a easy as :

brew upgrade gh  

See below how to upgrade (v2.6.0 to v2.7.0 in my case):

🔖 cli/cli Homepage

For more about that tool, just visit its homepage :

GitHub CLI | Take GitHub to the command line

Take GitHub to the command line

favicon cli.github.com


This content originally appeared on DEV Community and was authored by SALES


Print Share Comment Cite Upload Translate Updates
APA

SALES | Sciencx (2022-04-09T00:10:16+00:00) Upgrade GitHub cli. Retrieved from https://www.scien.cx/2022/04/09/upgrade-github-cli/

MLA
" » Upgrade GitHub cli." SALES | Sciencx - Saturday April 9, 2022, https://www.scien.cx/2022/04/09/upgrade-github-cli/
HARVARD
SALES | Sciencx Saturday April 9, 2022 » Upgrade GitHub cli., viewed ,<https://www.scien.cx/2022/04/09/upgrade-github-cli/>
VANCOUVER
SALES | Sciencx - » Upgrade GitHub cli. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/04/09/upgrade-github-cli/
CHICAGO
" » Upgrade GitHub cli." SALES | Sciencx - Accessed . https://www.scien.cx/2022/04/09/upgrade-github-cli/
IEEE
" » Upgrade GitHub cli." SALES | Sciencx [Online]. Available: https://www.scien.cx/2022/04/09/upgrade-github-cli/. [Accessed: ]
rf:citation
» Upgrade GitHub cli | SALES | Sciencx | https://www.scien.cx/2022/04/09/upgrade-github-cli/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.