Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md: Add MacPorts to install section #8220

Merged
merged 1 commit into from
Aug 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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