Installation on MacOS Sierra fails

Hello all,

I did the installation of Go via Homebrew:

brew install golang

then I did:

go get github.com/jbenet/go-ipfs/cmd/ipfs

and I get:

# github.com/libp2p/go-libp2p-quic-transport
go/src/github.com/libp2p/go-libp2p-quic-transport/stream.go:15:31: s.Stream.CancelRead(0) used as value
go/src/github.com/libp2p/go-libp2p-quic-transport/stream.go:18:29: s.Stream.CancelWrite(0) used as value
go/src/github.com/libp2p/go-libp2p-quic-transport/transport.go:22:62: undefined: quic.VersionMilestone0_10_0

What’s wrong here? It seems it has a problem with a library, but I have no idea why.

How can I get IPFS installed?

Thanks!

Why not just use a pre-built binary?

https://dist.ipfs.io/#go-ipfs

If you really need to build it from source, then use these instructions.

Hi there, thanks, I just need to get it installed, the way I was trying was the way I was recommended to do it.

I will try the binary version. Cheers.