diff --git a/docs/install_linux.md b/docs/install_linux.md index 697bfb8f8..4fe314777 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -1,4 +1,4 @@ -# Installing gh on Linux +# Installing gh on Linux and FreeBSD Packages downloaded from https://cli.github.com or from https://github.com/cli/cli/releases are considered official binaries. We focus on popular Linux distros and @@ -101,6 +101,20 @@ Android 7+ users can install via [Termux](https://wiki.termux.com/wiki/Main_Page pkg install gh ``` +### FreeBSD + +FreeBSD users can install from the [ports collection](https://www.freshports.org/devel/gh/): + +```bash +cd /usr/ports/devel/gh/ && make install clean +``` + +Or via [pkg(8)](https://www.freebsd.org/cgi/man.cgi?pkg(8)): + +```bash +pkg install gh +``` + ### Gentoo Gentoo Linux users can install from the [main portage tree](https://packages.gentoo.org/packages/dev-util/github-cli):