macOS
brew install g-lslocal Homebrew formula metadata
sudo port install g-lsMacPorts ports tree · sysutils/g-ls/Portfile · ソース: api.github.com
brew
g-ls のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install g-lslocal Homebrew formula metadata
sudo port install g-lsMacPorts ports tree · sysutils/g-ls/Portfile · ソース: api.github.com
nix profile install nixpkgs#g-lsnixpkgs package indexes · pkgs/by-name/g-/g-ls/package.nix · ソース: api.github.com
sudo apk add g++Alpine Linux edge package indexes · g++ · ソース: dl-cdn.alpinelinux.org
sudo dnf install gcc-c++Fedora Rawhide package metadata · gcc-c++ · ソース: dl.fedoraproject.org
scoop install main/gScoop 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`.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
g | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/Equationzhao/g
インストールメタデータ
| パッケージキー | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | g-ls |
| 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 パッケージリンクとは分けて表示されます。
g-ls
nix profile install nixpkgs#g-lsg-ls
sudo port install g-lsg++ 4:14.2.0-1
GNU C++ compiler
sudo apt install g++g++ 4:13.2.0-7ubuntu1
GNU C++ compiler
sudo apt install g++g++ 15.2.0-r5
GNU C++ standard library and compiler
sudo apk add g++gcc-c++ 16.1.1-2.fc45
C++ support for GCC
sudo dnf install gcc-c++main/g
scoop install main/gソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.