blob: f5e4cf9612fc82148eb20d91d1a98633f2a6a827 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Installation
## Nix
maintainer: [@Aylur](https://github.com/Aylur)
Read more about it on the [nix page](../getting-started/nix.md)
## Bulding AGS from source
1. [Install Astal](../getting-started/installation.md) if you have not already
2. Install the following dependencies
:::code-group
```sh [Fedora]
sudo dnf install golang npm gjs
```
```sh [Arch]
sudo pacman -Syu go npm gjs
```
```sh [Alpine]
sudo apk add go npm gjs
```
```sh [Ubuntu]
sudo apt install golang-go npm gjs
```
```bash [openSUSE]
sudo zypper install go npm gjs
```
:::
3. Clone the repo and Install
```bash
git clone https://github.com/aylur/ags.git
cd ags
git checkout v2
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"
```
:::
|