- Clone their repo, e.g. via
git clone [email protected]:rancher/k3d.git
orgo get github.com/rancher/k3d/v4@main
- Inside the repo run
- 'make install-tools' to make sure required go packages are installed
- Inside the repo run one of the following commands
make build
to build for your current systemgo install
to install it to yourGOPATH
(Note: this will give you unreleased/bleeding-edge changes)make build-cross
to build for all systems