Installation
Nix
maintainer: @Aylur
Read more about it on the nix page
You can try without installing.
sh
nix run github:aylur/ags/v2 -- --help
Bulding AGS from source
Install Astal if you have not already
Install the following dependencies
sh
sudo pacman -Syu go npm gjs
sh
sudo dnf install golang npm gjs
sh
sudo apt install golang-go npm gjs
- Clone the repo and Install
sh
git clone https://github.com/aylur/ags.git
cd ags/src
git checkout v2 # https://github.com/Aylur/ags/pull/504
go install
INFO
If you have installed Astal not in /usr
make sure to set its path.
sh
go install -ldflags "-X main.astalGjs=$(pkg-config --variable prefix astal-0.1)/share/astal/gjs"
TIP
go install
installs the ags
binary to $GOPATH/bin
so make sure its in your $PATH
. You can move it to another directory if you like. For example
sh
mv $GOPATH/bin/ags ~/.local/bin/ags