Automic VaultAutomic Vault

brew

Install gopls with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Language server for the Go language. Version 0.22.0 via Homebrew; verified 2026-05-18.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gopls

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gopls

MacPorts ports tree · devel/gopls/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add gopls

Alpine Linux edge package indexes · gopls · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gopls

Debian stable package indexes · gopls · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gopls

Fedora Rawhide package metadata · gopls · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gopls

nixpkgs package indexes · pkgs/by-name/go/gopls/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S gopls

Arch Linux sync databases · gopls · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install gopls

openSUSE Tumbleweed package metadata · gopls · source: download.opensuse.org

overview

Package summary

Language server for the Go language

Commands and aliases

  • gopls

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2014: golang/tools repository created as the Go tools mirror.
  • 2019: Early gopls tags appear in the x/tools repository.
  • 2019: Go 1.13 makes module-aware workflows the default context for many Go developers.
  • 2020s: go.dev publishes dedicated gopls documentation, editor guides, feature docs, and design notes.
  • 2024: Go telemetry planning explicitly discusses LSP-capable editors that use gopls.
  • 2025: gopls v0.20.0 release notes document experimental MCP server support.

Related projects

  • golang.org/x/tools contains gopls and related Go developer tools such as goimports and stringer.
  • The Language Server Protocol defines the editor-server boundary that gopls implements.
  • The Go module system and proxy infrastructure shape how gopls loads and analyzes workspaces.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
goplscliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.22.0
manager updated2026-05-18
local dataok
upstreamcurrent
latest detectedgopls/v0.22.0

https://github.com/golang/tools

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gopls
Version0.22.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gopls
Homepagehttps://github.com/golang/tools/tree/master/gopls
Repositoryhttps://github.com/golang/tools
Upstream docshttps://github.com/golang/tools/tree/master/gopls#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/golang/tools/archive/refs/tags/gopls/v0.22.0.tar.gz
Last updated2026-05-18T21:24:56Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegopls
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gopls 2:0.16.1+ds-1

language server for the Go language

https://golang.org/x/tools

sudo apt install gopls
  • Section: golang
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Gopls
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gopls from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gopls

nix profile install nixpkgs#gopls
  • normalized package name match
  • Matched by: Gopls
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/gopls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gopls 1:0.18.0+ds-1

language server for the Go language

https://golang.org/x/tools

sudo apt install gopls
  • Section: universe/golang
  • Architecture: amd64
  • Source Package: golang-golang-x-tools
  • 1 dependencies
  • normalized package name match
  • Matched by: Gopls
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gopls from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gopls 0.21.1-r3

Language server for Go programming language

https://github.com/golang/tools/blob/master/gopls

sudo apk add gopls
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gopls
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gopls
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gopls from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gopls 0.18.1-2.fc43

gopls, the Go language server

https://github.com/golang/tools

sudo dnf install gopls
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gopls
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Gopls
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gopls from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

gopls 0.22.0-1

Language server for Go programming language

https://github.com/golang/tools/tree/master/gopls

sudo pacman -S gopls
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Gopls
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gopls from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gopls 0.22.0-1.1

Go LSP protocol language server

https://pkg.go.dev/golang.org/x/tools/gopls

sudo zypper install gopls
  • License: Apache-2.0 AND MIT AND BSD-3-Clause
  • Category: Development/Tools/Other
  • Architecture: x86_64
  • Source Package: gopls
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gopls
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gopls from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gopls

sudo port install gopls
  • normalized package name match
  • Matched by: Gopls
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/gopls/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment