Comment on page
Install
how to install g
g is written in Golang, so if you want to build g yourself, you should have go1.21 (or later) installed.
go install -ldflags="-s -w" github.com/Equationzhao/g@latest
make sure
$GOPATH/bin
is in your PATH
aur
yay -S g-ls
brew tap equationzhao/core [email protected]:Equationzhao/homebrew-g.git
brew install g-ls
scoop install https://raw.githubusercontent.com/Equationzhao/g/master/scoop/g.json
# upgrade
scoop uninstall g # uninstall first
install https://raw.githubusercontent.com/Equationzhao/g/master/scoop/g.json
# Error msg like this can be ignored
# Move-Item:
# Line |
# 2 | mv g-amd64.exe g.exe
# | ~~~~~~~~~~~~~~~~~~~~
# Move-Item:
# Line |
# 3 | mv g-amd64.shim g.shim
# | ~~~~~~~~~~~~~~~~~~~~~~
feel free to contribute if you're interested in this project and familiar with
winget
use
g -v
to check versiong -v # check version
you should see output like this:
💡 g - a powerful ls
| Version 0.11.1
| Go Version 1.20.5
| Compiler gc
| Platform linux/amd64
| Copyright (C) 2023 Equationzhao. MIT License
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
g --check-new-version
Last modified 19d ago