Browse Source

docs: use "go install" instead of "go get" (#6972)

Joe Chen 2 years ago
parent
commit
1496988ac1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/dev/local_development.md

+ 1 - 1
docs/dev/local_development.md

@@ -74,7 +74,7 @@ Gogs has the following dependencies:
     ```bash
     sudo apt install -y make git-all postgresql postgresql-contrib golang-go nodejs
     npm install -g less
-    go get go-task/task/cmd/task
+    go install github.com/go-task/task/v3/cmd/task@latest
     ```
 
 1. Configure startup services: