From 1ea1493ed11b7da6bdf8d06c3f0e3dcf6e34e75c Mon Sep 17 00:00:00 2001 From: Shad Sterling <1201034+ShadSterling@users.noreply.github.com> Date: Sun, 27 Jun 2021 08:20:39 -0400 Subject: [PATCH] README.md: Add MacPorts to install section --- README.md | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 34d579267a7..07f44d7c932 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Before opening an issue, consider using one of the following locations to ensure - [System Requirements](#system-requirements) - [Install prebuilt packages](#install-prebuilt-packages) - [From Linux package managers](#from-linux-package-managers) + - [From Windows package managers](#from-windows-package-managers) + - [From macOS package managers](#from-macos-package-managers) - [Build from Source](#build-from-source) - [Install Go](#install-go) - [Download and Compile IPFS](#download-and-compile-ipfs) @@ -83,7 +85,7 @@ You can also download go-ipfs from this project's GitHub releases page if you ar ### From Linux package managers - [Arch Linux](#arch-linux) -- [Nix](#nix) +- [Nix](#nix-linux) - [Solus](#solus) - [Snap](#snap) @@ -100,9 +102,9 @@ Development version of go-ipfs is also on AUR under [go-ipfs-git](https://aur.archlinux.org/packages/go-ipfs-git/). You can install it using your favorite AUR Helper or manually from AUR. -#### Nix +#### Nix -For Linux and MacOSX you can use the purely functional package manager [Nix](https://nixos.org/nix/): +For Linux and macOS you can use the purely functional package manager [Nix](https://nixos.org/nix/): ``` $ nix-env -i ipfs @@ -158,6 +160,29 @@ PS> scoop bucket add extras PS> scoop install go-ipfs ``` +### From macOS package managers + +- [MacPorts](#macports) +- [Nix](#nix-macos) + +#### MacPorts + +The package [ipfs](https://ports.macports.org/port/ipfs) currently points to go-ipfs and is being maintained. + +``` +$ sudo port install ipfs +``` + +#### Nix + +For macOS and Linux you can use the purely functional package manager [Nix](https://nixos.org/nix/): + +``` +$ nix-env -i ipfs +``` + +You can also install the Package by using its attribute name, which is also `ipfs`. + ### Build from Source go-ipfs's build system requires Go 1.15.2 and some standard POSIX build tools: