Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/install/build.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,15 @@ ensure that `~/.local/bin` is on your _system_ `PATH`. The desktop environment
itself must have that path in the `PATH`. Google for your specific desktop
environment and distribution to learn how to do that.

If you built ghostty with the flag `-fno-sys=gtk4-layer-shell` you may additionally
require the `LD_LIBRARY_PATH` environment variable to be set to `$HOME/.local/lib`.
To avoid however globally polluting `LD_LIBRARY_PATH` when launching from a desktop
environment, you can simply patch the installed ghostty elf with `patchelf`:

```shell-session
patchelf --set-rpath '$ORIGIN/../lib' $HOME/.local/bin/ghostty
```

For system-wide installs, we recommend `/usr` (likely requires `sudo`):

```shell-session
Expand Down