go get
Add a dependency package, or download packages in legacy GOPATH mode.
- Add a specified package to `go.mod` in module-mode or install the package in GOPATH-mode:
go get {example.com/pkg}
- Modify the package with a given version in module-aware mode:
go get {example.com/pkg}@{v1.2.3}
- Remove a specified package:
go get {example.com/pkg}@{none}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).