macOS
brew install goplslocal Homebrew formula metadata
sudo port install goplsMacPorts ports tree · devel/gopls/Portfile · 来源: api.github.com
安装
brew install goplslocal Homebrew formula metadata
sudo port install goplsMacPorts ports tree · devel/gopls/Portfile · 来源: api.github.com
sudo apk add goplsAlpine Linux edge package indexes · gopls · 来源: dl-cdn.alpinelinux.org
sudo dnf install goplsFedora Rawhide package metadata · gopls · 来源: dl.fedoraproject.org
nix profile install nixpkgs#goplsnixpkgs package indexes · pkgs/by-name/go/gopls/package.nix · 来源: api.github.com
sudo pacman -S goplsArch Linux sync databases · gopls · 来源: geo.mirror.pkgbuild.com
sudo zypper install goplsopenSUSE Tumbleweed package metadata · gopls · 来源: download.opensuse.org
概览
Language server for the Go language
历史
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.
安全态势
没有找到 gopls 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gopls | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/golang/tools
安装元数据
| 软件包键 | brew:gopls |
|---|---|
| 版本 | 0.23.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gopls |
| 主页 | https://github.com/golang/tools/tree/master/gopls |
| 仓库 | https://github.com/golang/tools |
| 上游文档 | https://github.com/golang/tools/tree/master/gopls#readme |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://github.com/golang/tools/archive/refs/tags/gopls/v0.23.0.tar.gz |
| 最后更新 | 2026-07-09T18:36:40Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 gopls来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.