Skip to content

Commit

Permalink
Merge pull request #8220 from ShadSterling/patch-1
Browse files Browse the repository at this point in the history
README.md: Add MacPorts to install section
  • Loading branch information
Stebalien authored Aug 10, 2021
2 parents 0e73e23 + 1ea1493 commit 9398d80
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,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)
Expand Down Expand Up @@ -80,7 +82,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)

Expand All @@ -97,9 +99,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
#### <a name="nix-linux">Nix</a>

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
Expand Down Expand Up @@ -155,6 +157,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
```

#### <a name="nix-macos">Nix</a>

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:
Expand Down

0 comments on commit 9398d80

Please sign in to comment.