Automic VaultAutomic Vault

brew

gopls を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

gopls のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install gopls

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install gopls

MacPorts ports tree · devel/gopls/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add gopls

Alpine Linux edge package indexes · gopls · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install gopls

Debian stable package indexes · gopls · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install gopls

Fedora Rawhide package metadata · gopls · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#gopls

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

Arch Linux pacman確認済み · 92%
sudo pacman -S gopls

Arch Linux sync databases · gopls · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install gopls

openSUSE 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.

タイムライン

  • 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.

セキュリティ状態

保護ツール対応はまだ見つかっていません

gopls に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
goplscliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版0.23.0
マネージャ更新日2026-07-09
ローカルデータOK
上流最新
検出された最新gopls/v0.23.0

https://github.com/golang/tools

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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