Skip to content

Commit 1ec632b

Browse files
committed
Add OpenBSD instructions
1 parent ca60e30 commit 1ec632b

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ If anything feels off, or if you feel that some functionality is missing, please
4141

4242
Additional Conda installation options available on the [gh-feedstock page](https://github.com/conda-forge/gh-feedstock#installing-gh).
4343

44-
### Linux
44+
### Linux & BSD
4545

4646
`gh` is available via [Homebrew](#homebrew), [Conda](#Conda), and as downloadable binaries from the [releases page][].
4747

48-
For more information and distro-specific instructions, see the [Linux installation docs](./docs/install_linux.md).
48+
For instructions on specific distributions and package managers, see [Linux & BSD installation](./docs/install_linux.md).
4949

5050
### Windows
5151

docs/install_linux.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installing gh on Linux and FreeBSD
1+
# Installing gh on Linux and BSD
22

33
Packages downloaded from https://cli.github.com or from https://github.com/cli/cli/releases
44
are considered official binaries. We focus on popular Linux distros and
@@ -126,6 +126,14 @@ Or via [pkg(8)](https://www.freebsd.org/cgi/man.cgi?pkg(8)):
126126
pkg install gh
127127
```
128128

129+
### OpenBSD
130+
131+
In -current, or in releases starting from 7.0, OpenBSD users can install from packages:
132+
133+
```
134+
pkg_add github-cli
135+
```
136+
129137
### Funtoo
130138

131139
Funtoo Linux has an autogenerated github-cli package, located in [dev-kit](https://github.com/funtoo/dev-kit/tree/1.4-release/dev-util/github-cli), which can be installed in the following way:

0 commit comments

Comments
 (0)