macOS
brew install g-lslocal Homebrew formula metadata
sudo port install g-lsMacPorts ports tree · sysutils/g-ls/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de g-ls pour les workflows d'agents IA.
installation
brew install g-lslocal Homebrew formula metadata
sudo port install g-lsMacPorts ports tree · sysutils/g-ls/Portfile · Source: api.github.com
nix profile install nixpkgs#g-lsnixpkgs package indexes · pkgs/by-name/g-/g-ls/package.nix · Source: api.github.com
sudo apk add g++Alpine Linux edge package indexes · g++ · Source: dl-cdn.alpinelinux.org
sudo apt install g++Debian stable package indexes · g++ · Source: deb.debian.org
sudo dnf install gcc-c++Fedora Rawhide package metadata · gcc-c++ · Source: dl.fedoraproject.org
scoop install main/gScoop official bucket manifest trees · bucket/g.json · Source: api.github.com
aperçu
Powerful and cross-platform ls
historique
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`.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
g | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/Equationzhao/g
métadonnées d'installation
| Clé du paquet | brew:g-ls |
|---|---|
| Version | 0.31.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/g-ls |
| Page d'accueil | https://equationzhao.github.io/g/ |
| Dépôt | https://github.com/Equationzhao/g |
| Docs amont | https://equationzhao.github.io/g |
| Licence | MIT |
| Archive source | https://github.com/Equationzhao/g/archive/refs/tags/v0.31.2.tar.gz |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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/gpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.