Installation

Installation Guide

Via package manager

Arch Linux (AUR)

yay -S g-ls

Homebrew 🍺

brew install g-ls

or use the homebrew tap:

brew tap equationzhao/core [email protected]:Equationzhao/homebrew-g.git
brew install g-ls

Windows Scoop

scoop install https://raw.githubusercontent.com/Equationzhao/g/master/scoop/g.json
# upgrade
scoop uninstall g # uninstall first
scoop install https://raw.githubusercontent.com/Equationzhao/g/master/scoop/g.json

Winget

TODO, see issue

Pre-built executable

install script

install

uninstall

deb

download from release page

tar.gz/zip

just download from release page, extract the gzip and add the executable file to your PATH

From source

Requires Go version >= 1.21

Alternatively, clone the repo for a dev version:

Validate Installation

use g -v to check version

you should see output like this:

check new version

g --check-new-version

Last updated

Was this helpful?