From cdabb686b4283457d6a8d475105d267b9041e664 Mon Sep 17 00:00:00 2001 From: James Mills <1290234+prologic@users.noreply.github.com> Date: Sat, 29 Jul 2023 12:21:26 +1000 Subject: [PATCH] Update index.md Recommend `go install` too --- site/content/index.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/site/content/index.md b/site/content/index.md index 6f3f7a61..0d1d9e2d 100644 --- a/site/content/index.md +++ b/site/content/index.md @@ -14,6 +14,15 @@ and Mage automatically uses them as Makefile-like runnable targets. Mage has no dependencies outside the Go standard library, and builds with Go 1.7 and above (possibly even lower versions, but they're not regularly tested). +#### Using Go Install (Faster) + +```console +$ go install github.com/magefile/mage@latest +go: downloading github.com/magefile/mage v1.15.0 +``` + +`mage` should now be in your `$GOBIN` (`go env | grep GOBIN` to check). Make sure it's in your `$PATH` + #### Using Go Modules (Recommended) ```plain