Go to for instruction on how to generate a Personal Access Token. Use a GitHub Personal Access Token (PAT). Processing triggers for man-db (2.9.1-1) Authentication and Login 393782 files and directories currently installed.) Selecting previously unselected package gh. Locale: Cannot set LC_ALL to default locale: No such file or directory Locale: Cannot set LC_MESSAGES to default locale: No such file or directory Locale: Cannot set LC_CTYPE to default locale: No such file or directory Perl: warning: Falling back to the standard locale ("C"). Perl: warning: Please check that your locale settings:Īre supported and installed on your system. The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 68 not upgraded.Īfter this operation, 30.3 MB of additional disk space will be used. Use 'sudo apt autoremove' to remove them. Libllvm9 libstartup-notification0 qtgstreamer-plugins-qt5 shim The following packages were automatically installed and are no longer required: Run 'apt list -upgradable' to see sudo apt install gh Get:10 stable/main amd64 Packages Ħ8 packages can be upgraded. ➜ TSProjects On Debian/ Ubuntu sudo curl -fsSL | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpgġ795 bytes (1.8 kB, 1.8 KiB) copied, 0.298376 s, 6.0 echo "deb stable main" | sudo tee /etc/apt//github-cli.list > sudo apt update Installation On Mac via brewĬheck the version installed: ➜ TSProjects Now, it has reached to its version 2.2.0, and it is available for all major OS. The official GitHub CLI (Command Line Interface) has been available since September 2020. But now, we can rely on the gh tool that simplifies quite a lot, the automation of operations needed to deal with GitHub repos. This was not such a handy approach, especially for DevOps. Prior to the gh introduction, most of the job, working with terminal and trying to automate somehow the interaction with GitHub repositories, required the using of other CLI tools like curl. This is a short intro for the gh -the GitHub Command Line Tool.
0 Comments
Leave a Reply. |