Skip to content

Commit 1ea1493

Browse files
authored
README.md: Add MacPorts to install section
1 parent bdead90 commit 1ea1493

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
@@ -30,6 +30,8 @@ Before opening an issue, consider using one of the following locations to ensure
3030
- [System Requirements](#system-requirements)
3131
- [Install prebuilt packages](#install-prebuilt-packages)
3232
- [From Linux package managers](#from-linux-package-managers)
33+
- [From Windows package managers](#from-windows-package-managers)
34+
- [From macOS package managers](#from-macos-package-managers)
3335
- [Build from Source](#build-from-source)
3436
- [Install Go](#install-go)
3537
- [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
8385
### From Linux package managers
8486

8587
- [Arch Linux](#arch-linux)
86-
- [Nix](#nix)
88+
- [Nix](#nix-linux)
8789
- [Solus](#solus)
8890
- [Snap](#snap)
8991

@@ -100,9 +102,9 @@ Development version of go-ipfs is also on AUR under
100102
[go-ipfs-git](https://aur.archlinux.org/packages/go-ipfs-git/).
101103
You can install it using your favorite AUR Helper or manually from AUR.
102104

103-
#### Nix
105+
#### <a name="nix-linux">Nix</a>
104106

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

107109
```
108110
$ nix-env -i ipfs
@@ -158,6 +160,29 @@ PS> scoop bucket add extras
158160
PS> scoop install go-ipfs
159161
```
160162

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

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

0 commit comments

Comments
 (0)