Skycoin requires Go 1.23 or later.
Follow the official Go installation instructions for your operating system:
The official guide covers:
- Download and installation for Windows, macOS, and Linux
- Setting up your environment
- Verifying your installation
- Getting started with Go
- Linux/macOS/Windows: Download from https://go.dev/dl/
- Package Managers:
- macOS (Homebrew):
brew install go - Ubuntu/Debian:
sudo apt install golang-go(check version meets minimum requirement) - Arch Linux:
sudo pacman -S go - Fedora:
sudo dnf install golang
- macOS (Homebrew):
After installing, verify your Go version meets the minimum requirement:
$ go version
go version go1.23.0 linux/amd64 # or higherSkycoin uses Go modules, so you do not need to set up GOPATH or clone the repository to a specific directory. You can:
- Run directly:
go run github.com/skycoin/skycoin@develop - Install to your PATH:
go install github.com/skycoin/skycoin@develop - Clone anywhere:
git clone https://github.com/skycoin/skycoin && cd skycoin && go build
If you encounter issues:
- Ensure Go version is 1.23 or later:
go version - Check Go is in your PATH:
which go(Unix) orwhere go(Windows) - Clear module cache if needed:
go clean -modcache
For more help, see: