Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: update install from source instructions

Nick Craig-Wood4afea1ebafc0
diff --git a/docs/content/install.md b/docs/content/install.md
index 1bfdd74b4..2faf957d2 100644
--- a/docs/content/install.md
+++ b/docs/content/install.md
@@ -183,14 +183,23 @@ latest release is recommended. Then
go build
./rclone version
-This will leave you a checked out version of rclone you can modify.
+This will leave you a checked out version of rclone you can modify and
+send pull requests with. If you use `make` instead of `go build` then
+the rclone build will have the correct version information in it.
-You can also build rclone with:
+You can also build the latest stable rclone with:
- go get -u -v github.com/rclone/rclone
+ go get github.com/rclone/rclone
-and this will build the binary in `$GOPATH/bin` (`~/go/bin/rclone` by
-default) after downloading the source to the go module cache..
+or the latest version (equivalent to the beta) with
+
+ go get github.com/rclone/rclone@master
+
+These will build the binary in `$(go env GOPATH)/bin`
+(`~/go/bin/rclone` by default) after downloading the source to the go
+module cache. Note - do **not** use the `-u` flag here. This causes go
+to try to update the depencencies that rclone uses and sometimes these
+don't work with the current version of rclone.
## Installation with Ansible ##