Automic VaultAutomic Vault

brew

g-ls を Homebrew, MacPorts, Nix, apk, apt, dnf, scoop でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install g-ls

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install g-ls

MacPorts ports tree · sysutils/g-ls/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#g-ls

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

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

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

Debian apt確認済み · 92%
sudo apt install g++

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

Fedora dnf確認済み · 92%
sudo dnf install gcc-c++

Fedora Rawhide package metadata · gcc-c++ · ソース: dl.fedoraproject.org

Windows

Scoop確認済み · 92%
scoop install main/g

Scoop official bucket manifest trees · bucket/g.json · ソース: api.github.com

概要

パッケージ概要

Powerful and cross-platform ls

履歴

プロジェクトの歴史と使われ方

g is a Go-based, cross-platform `ls` alternative packaged in Homebrew as `g-ls` and installed as the `g` executable. The upstream README describes it as feature-rich and customizable, with icons, colors, multiple layouts, git status integration, fuzzy path matching, and hyperlink support.

プロジェクトの歴史

The repository was created in April 2023, and GitHub Releases show v0.2.1 published the same day. The README frames g as an enhanced directory lister rather than a file manager, adding visual layouts and metadata to the familiar `ls` role.

The project continued through frequent 0.x releases; by 2025 it had reached the 0.30 series, and the visible release feed shows v0.31.2 in 2026. The bundled manual documents a broad option surface for display formats, filtering, fuzzy indexing, shell initialization, sorting, and metadata columns.

採用の歴史

Official installation notes document Arch AUR, Homebrew, a Homebrew tap, MacPorts, Scoop, pre-built release artifacts, deb packages, install scripts, and `go install`. That spread follows the usual adoption route for Go CLIs: direct binary releases, Go module installation, and native package-manager recipes.

使われ方

Users run `g path(s)` as an `ls` replacement and enable options such as icons, long format, tree layout, JSON, markdown, CSV, git status, MIME and charset display, fuzzy path matching, and shell initialization scripts for Bash, Zsh, Fish, PowerShell, and Nushell.

パッケージ好きにとっての重要性

g is interesting in the crowded modern-ls category because it combines exa/eza-style visual listing, lsd-style icons, git metadata, multiple machine-readable output formats, and shell integration in a single Go binary. For package maintainers, the main wrinkle is name collision: the package is `g-ls` in Homebrew while the executable is `g`.

タイムライン

  • 2023: GitHub repository created.
  • 2023: Release v0.2.1 published.
  • 2025: Release v0.30.0 published.
  • 2026: Release v0.31.2 published.

Related projects

  • The README says g is highly inspired by exa/eza, lsd, and ls-go. It also describes zoxide- and fzf-like fuzzy path matching, placing g near both modern `ls` replacements and shell-navigation helpers.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

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

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-26
マネージャ版0.31.2
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v0.31.2

https://github.com/Equationzhao/g

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:g-ls
バージョン0.31.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/g-ls
ホームページhttps://equationzhao.github.io/g/
リポジトリhttps://github.com/Equationzhao/g
上流ドキュメントhttps://equationzhao.github.io/g
ライセンスMIT
ソースアーカイブhttps://github.com/Equationzhao/g/archive/refs/tags/v0.31.2.tar.gz
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

g-ls

nix profile install nixpkgs#g-ls
  • normalized package name match
  • 一致条件: G Ls
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/g-/g-ls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

g-ls

sudo port install g-ls
  • normalized package name match
  • 一致条件: G Ls
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/g-ls/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

g++ 4:14.2.0-1

GNU C++ compiler

sudo apt install g++
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-defaults
  • 6 依存関係
  • 1 提供
  • 1 任意依存関係
  • installed executable or alias match
  • 一致条件: G
Debian stable package indexes · deb.debian.org · Debian stable package indexes: g++ from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

g++ 4:13.2.0-7ubuntu1

GNU C++ compiler

sudo apt install g++
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-defaults
  • 6 依存関係
  • 1 提供
  • 1 任意依存関係
  • installed executable or alias match
  • 一致条件: G
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: g++ from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk92%

g++ 15.2.0-r5

GNU C++ standard library and compiler

https://gcc.gnu.org

sudo apk add g++
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gcc
  • 1 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: G
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: g++ from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf92%

gcc-c++ 16.1.1-2.fc45

C++ support for GCC

http://gcc.gnu.org

sudo dnf install gcc-c++
  • License: GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gcc
  • 12 依存関係
  • 3 提供
  • installed executable or alias match
  • 一致条件: G
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gcc-c++ from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
Scoop92%

main/g

scoop install main/g
  • installed executable or alias match
  • 一致条件: G
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/g.json from https://api.github.com/repos/ScoopInstaller/Main/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