My Framework is an AMD Ubuntu 22.04.5 LTS.
Download the appropriate package from the Releases Repo. Then install (or update) locally:
sudo dpkg -i ./ghostty_1.1.2-0.ppa1_amd64_22.04.deb
Consider reading r/Zig How I configure ghostty.
I use the following configurations .config/ghostty/config.
Per ghostty terminfo page, if you run into a missing or unsuitable terminal: xterm-ghostty
error, you can:
infocmp -x | ssh YOUR-SERVER -- tic -x -
to export the terminfo entry from your host and import it on the remote machine.