.. _spkg_github_cli:

github_cli: Command-line interface for GitHub
=============================================

Description
-----------

``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.

License
-------

MIT

Upstream Contact
----------------

https://github.com/cli/cli

Type
----

optional


Dependencies
------------


Version Information
-------------------


Equivalent System Packages
--------------------------

alpine:
install the following packages: github-cli

arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  github-cli


conda:

.. CODE-BLOCK:: bash

    $ conda install  gh


Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  gh


Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  gh


freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install devel/gh


gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge dev-util/github-cli


homebrew:

.. CODE-BLOCK:: bash

    $ brew install gh


macports:
install the following packages: gh

nix:

.. CODE-BLOCK:: bash

    $ nix-env --install gh


opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install gh


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  github-cli


See https://repology.org/project/github-cli/versions


However, these system packages will not be used for building Sage
because spkg-configure.m4 has not been written for this package;
see :issue:`27330`

