Skip to content

Commit

Permalink
README.md: Add MacPorts to install section
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadSterling authored Jun 27, 2021
1 parent bdead90 commit 1ea1493
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 @@ -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)
Expand Down Expand Up @@ -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)

Expand All @@ -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
#### <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 @@ -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
```

#### <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 1ea1493

Please sign in to comment.