macOS
brew install g-lslocal Homebrew formula metadata
sudo port install g-lsMacPorts ports tree · sysutils/g-ls/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für g-ls in AI-Agent-Workflows.
Installation
brew install g-lslocal Homebrew formula metadata
sudo port install g-lsMacPorts ports tree · sysutils/g-ls/Portfile · Quelle: api.github.com
nix profile install nixpkgs#g-lsnixpkgs package indexes · pkgs/by-name/g-/g-ls/package.nix · Quelle: api.github.com
sudo apk add g++Alpine Linux edge package indexes · g++ · Quelle: dl-cdn.alpinelinux.org
sudo apt install g++Debian stable package indexes · g++ · Quelle: deb.debian.org
sudo dnf install gcc-c++Fedora Rawhide package metadata · gcc-c++ · Quelle: dl.fedoraproject.org
scoop install main/gScoop official bucket manifest trees · bucket/g.json · Quelle: api.github.com
Überblick
Powerful and cross-platform ls
Verlauf
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`.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
g | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/Equationzhao/g
Installationsmetadaten
| Paketschlüssel | brew:g-ls |
|---|---|
| Version | 0.31.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/g-ls |
| Homepage | https://equationzhao.github.io/g/ |
| Repository | https://github.com/Equationzhao/g |
| Upstream-Dokumentation | https://equationzhao.github.io/g |
| Lizenz | MIT |
| Quellarchiv | https://github.com/Equationzhao/g/archive/refs/tags/v0.31.2.tar.gz |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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/gQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.