Skip to content

Commit 9398d80

Browse files
authored
Merge pull request ipfs#8220 from ShadSterling/patch-1
README.md: Add MacPorts to install section
2 parents 0e73e23 + 1ea1493 commit 9398d80

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

README.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Before opening an issue, consider using one of the following locations to ensure
2727
- [System Requirements](#system-requirements)
2828
- [Install prebuilt packages](#install-prebuilt-packages)
2929
- [From Linux package managers](#from-linux-package-managers)
30+
- [From Windows package managers](#from-windows-package-managers)
31+
- [From macOS package managers](#from-macos-package-managers)
3032
- [Build from Source](#build-from-source)
3133
- [Install Go](#install-go)
3234
- [Download and Compile IPFS](#download-and-compile-ipfs)
@@ -80,7 +82,7 @@ You can also download go-ipfs from this project's GitHub releases page if you ar
8082
### From Linux package managers
8183

8284
- [Arch Linux](#arch-linux)
83-
- [Nix](#nix)
85+
- [Nix](#nix-linux)
8486
- [Solus](#solus)
8587
- [Snap](#snap)
8688

@@ -97,9 +99,9 @@ Development version of go-ipfs is also on AUR under
9799
[go-ipfs-git](https://aur.archlinux.org/packages/go-ipfs-git/).
98100
You can install it using your favorite AUR Helper or manually from AUR.
99101

100-
#### Nix
102+
#### <a name="nix-linux">Nix</a>
101103

102-
For Linux and MacOSX you can use the purely functional package manager [Nix](https://nixos.org/nix/):
104+
For Linux and macOS you can use the purely functional package manager [Nix](https://nixos.org/nix/):
103105

104106
```
105107
$ nix-env -i ipfs
@@ -155,6 +157,29 @@ PS> scoop bucket add extras
155157
PS> scoop install go-ipfs
156158
```
157159

160+
### From macOS package managers
161+
162+
- [MacPorts](#macports)
163+
- [Nix](#nix-macos)
164+
165+
#### MacPorts
166+
167+
The package [ipfs](https://ports.macports.org/port/ipfs) currently points to go-ipfs and is being maintained.
168+
169+
```
170+
$ sudo port install ipfs
171+
```
172+
173+
#### <a name="nix-macos">Nix</a>
174+
175+
For macOS and Linux you can use the purely functional package manager [Nix](https://nixos.org/nix/):
176+
177+
```
178+
$ nix-env -i ipfs
179+
```
180+
181+
You can also install the Package by using its attribute name, which is also `ipfs`.
182+
158183
### Build from Source
159184

160185
go-ipfs's build system requires Go 1.15.2 and some standard POSIX build tools:

0 commit comments

Comments
 (0)