macOS
brew install goplslocal Homebrew formula metadata
sudo port install goplsMacPorts ports tree · devel/gopls/Portfile · source: api.github.com
brew
Language server for the Go language. Version 0.22.0 via Homebrew; verified 2026-05-18.
install
brew install goplslocal Homebrew formula metadata
sudo port install goplsMacPorts ports tree · devel/gopls/Portfile · source: api.github.com
sudo apk add goplsAlpine Linux edge package indexes · gopls · source: dl-cdn.alpinelinux.org
sudo apt install goplsDebian stable package indexes · gopls · source: deb.debian.org
sudo dnf install goplsFedora Rawhide package metadata · gopls · source: dl.fedoraproject.org
nix profile install nixpkgs#goplsnixpkgs package indexes · pkgs/by-name/go/gopls/package.nix · source: api.github.com
sudo pacman -S goplsArch Linux sync databases · gopls · source: geo.mirror.pkgbuild.com
sudo zypper install goplsopenSUSE Tumbleweed package metadata · gopls · source: download.opensuse.org
overview
Language server for the Go language
history
gopls, pronounced go please, is the official Go language server developed by the Go team. It made Go editor support less dependent on one editor plugin by concentrating language intelligence behind the Language Server Protocol.
gopls lives in the Go project's x/tools repository, the long-running home for Go analysis and developer tooling outside the main Go distribution. The gopls module appears as `golang.org/x/tools/gopls` and is documented on go.dev as the official language server for Go.
The project emerged during the Go modules era, when editor tooling needed to understand module-aware package loading, workspaces, diagnostics, code actions, and analysis across a changing build environment. Early tagged gopls releases in the tools repository begin with the `gopls/v0.2.x` series.
Over time, gopls moved from editor helper to a central Go development service. Its documentation covers editor-specific setup, LSP features, workspace behavior, analyzers, design notes, troubleshooting, and release notes.
The Go FAQ describes gopls as the Go team's supported language server for LSP-capable tools. That endorsement turned gopls into the default backend for many editors rather than a niche optional package.
Package-manager adoption is broad for a Go developer tool: the input facts list packages across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, and openSUSE. That spread reflects its role as infrastructure for editors and CI-style tooling rather than a command users run manually every day.
Go telemetry planning has treated LSP-capable editors using gopls as a major part of the Go tool ecosystem, which is another sign that gopls became part of ordinary Go development workflows.
Most users do not invoke gopls directly. Editors start it automatically to provide completion, hover, go-to-definition, diagnostics, formatting support, semantic tokens, code actions, references, and workspace operations.
Power users and editor maintainers use the documented settings, feature index, workspace documentation, and design notes to tune behavior or integrate gopls with less common LSP clients.
The gopls release documentation also shows it absorbing newer workflow surfaces, including an experimental MCP server mode in the v0.20.0 release line.
gopls is one of the clearest examples of a package-manager formula that is not an end-user app in the traditional sense but a local editor daemon. Installing it makes other tools work better.
It also matters because it centralizes Go-specific analysis in a versioned Go module. Package maintainers have to care about Go toolchain compatibility, editor compatibility, and x/tools release cadence, not just a single executable.
For Go ecosystem nerds, gopls marks the shift from editor-specific Go integrations such as gocode-era completion toward a shared language-server backend maintained by the Go project.
security posture
No matching local secret-handling manifest was found for gopls. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gopls | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/golang/tools
install metadata
| Package key | brew:gopls |
|---|---|
| Version | 0.22.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gopls |
| Homepage | https://github.com/golang/tools/tree/master/gopls |
| Repository | https://github.com/golang/tools |
| Upstream docs | https://github.com/golang/tools/tree/master/gopls#readme |
| License | BSD-3-Clause |
| Source archive | https://github.com/golang/tools/archive/refs/tags/gopls/v0.22.0.tar.gz |
| Last updated | 2026-05-18T21:24:56Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gopls |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gopls 2:0.16.1+ds-1
language server for the Go language
sudo apt install goplsgopls
nix profile install nixpkgs#goplsgopls 1:0.18.0+ds-1
language server for the Go language
sudo apt install goplsgopls 0.21.1-r3
Language server for Go programming language
https://github.com/golang/tools/blob/master/gopls
sudo apk add goplsgopls 0.18.1-2.fc43
gopls, the Go language server
https://github.com/golang/tools
sudo dnf install goplsgopls 0.22.0-1
Language server for Go programming language
https://github.com/golang/tools/tree/master/gopls
sudo pacman -S goplsgopls 0.22.0-1.1
Go LSP protocol language server
https://pkg.go.dev/golang.org/x/tools/gopls
sudo zypper install goplsgopls
sudo port install goplssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.