Files
astal/docs/ags/installation.md
T
Aylur 44c58147fd Update installation.md
it should probably be moved to the root from the src directory
2024-09-14 13:20:21 +02:00

1.1 KiB

Installation

Nix

maintainer: @Aylur

Read more about it on the nix page

You can try without installing.

nix run github:aylur/ags/v2 -- --help

Bulding AGS from source

  1. Install Astal if you have not already

  2. Install the following dependencies

:::code-group

sudo pacman -Syu go npm gjs
sudo dnf install golang npm gjs
sudo apt install golang-go npm gjs

:::

  1. Clone the repo and Install
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.

go install -ldflags "-X main.astalGjs=$(pkg-config --variable prefix astal-0.1)/share/astal/gjs"

:::