Rearrange Conda installation instructions

Originally,  I was thinking of putting Conda in a separate section after
the Windows section, since Conda probably isn't as well known or used.
But reading through the readme again, it seems like arranging it like
the other instructions makes more sense.

I found myself trying to look for the instructions when I first read it
in the MacOS section, but couldn't find the instructions.
This commit is contained in:
chemotaxis 2021-06-05 12:37:55 -04:00
parent 71c6b8f43a
commit a72f6346dd

View file

@ -19,7 +19,7 @@ If anything feels off, or if you feel that some functionality is missing, please
### macOS
`gh` is available via [Homebrew][], [MacPorts][], [Conda](#Conda), and as a downloadable binary from the [releases page][].
`gh` is available via [Homebrew][], [MacPorts][], [Conda][], and as a downloadable binary from the [releases page][].
#### Homebrew
@ -33,6 +33,14 @@ If anything feels off, or if you feel that some functionality is missing, please
| ---------------------- | ---------------------------------------------- |
| `sudo port install gh` | `sudo port selfupdate && sudo port upgrade gh` |
#### Conda
| Install: | Upgrade: |
|------------------------------------------|-----------------------------------------|
| `conda install gh --channel conda-forge` | `conda update gh --channel conda-forge` |
Additional Conda installation options available on the [gh-feedstock page](https://github.com/conda-forge/gh-feedstock#installing-gh).
### Linux
`gh` is available via [Homebrew](#homebrew), [Conda](#Conda), and as downloadable binaries from the [releases page][].
@ -65,18 +73,6 @@ For more information and distro-specific instructions, see the [Linux installati
MSI installers are available for download on the [releases page][].
### Other package managers
#### Conda
`gh` is available via [Conda][], a cross-platform package and environment manager.
| Install: | Upgrade: |
|------------------------------------------|-----------------------------------------|
| `conda install gh --channel conda-forge` | `conda update gh --channel conda-forge` |
Additional installation options available on the [gh-feedstock page](https://github.com/conda-forge/gh-feedstock#installing-gh).
### GitHub Actions
GitHub CLI comes pre-installed in all [GitHub-Hosted Runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners).