Skip to content

Commit

Permalink
Rearrange Conda installation instructions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chemotaxis committed Jun 5, 2021
1 parent 71c6b8f commit a72f634
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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][].
Expand Down Expand Up @@ -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).
Expand Down

0 comments on commit a72f634

Please sign in to comment.