

At the moment, the gh command doesn’t have the ability to clone projects, so we’ll have to make use of the git command. This will list out the available commands and flags ( Figure 1).įigure 2: The address for cloning the project. You can check out the (surprisingly limited) help by issuing the command: Once in that directory, install the application with the command:Īfter the installation completes, you’re ready to go. Once the file has downloaded, open a terminal window, change into the ~/Downloads directory with the command cd ~/Downloads. The installation of the GitHub CLI is quite simple. Because of that, you’ll probably want to be using this new tool on the desktop. If you ssh into a server and attempt to work with the gh command, you’ll find yourself limited in what you can do. Do note, however, in order for the gh command to properly function, it does require an available web browser. msi binary installers as well as the source code. Since this is a command line only tool, you can install it on just about any flavor of Linux (be it desktop or server).

I’m going to walk you through the process of installing GitHub CLI on Ubuntu Desktop Linux 19.10. So, yes, GitHub CLI isn’t quite as feature-rich as you might expect, but give it time and it will be. Create, view, and checkout pull requests.At the moment the tool is somewhat limited to what it can do (as it is in beta), but I would imagine a whole host of features will eventually make its way in. That tool is the GitHub CLI and it’s now in beta. Given that, it makes perfect sense GitHub would finally begin work on a tool to make it easier to work with GitHub from the command line. And although GitHub has a user-friendly web-based GUI (as well as numerous third-party desktop clients), many developers tend to spend a good amount of their development time working from within the Command Line Interface (CLI). It houses their repositories and serves as a version control system for individuals and teams. Developers across the globe depend upon GitHub.
