瀏覽代碼

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

Joe Chen 2 年之前
父節點
當前提交
1496988ac1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
     ```bash
     sudo apt install -y make git-all postgresql postgresql-contrib golang-go nodejs
     sudo apt install -y make git-all postgresql postgresql-contrib golang-go nodejs
     npm install -g less
     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:
 1. Configure startup services: