Skip to content

Installation

Kevin edited this page Jun 1, 2026 · 5 revisions

LuaRocks

luarocks install astal

Arch Linux

paru -S libastal-git libastal-4-git gtk3 gtk4 libastal-lua-git

From source

  1. Install the required dependencies on your system:

    • libastal-git
    • libastal-4-git
    • gtk3
    • gtk4
  2. Clone the repository:

git clone https://github.com/tokyob0t/astal-lua.git
cd astal-lua
  1. Build:
sudo luarocks --lua-version=5.4 make

Tip

It should be possible to use GTK with any version of Lua where lgi is available; personally, I highly recommend using LuaJIT, as it provides better performance and ffi support

Clone this wiki locally