gtkcord4 needs GTK4, gobject-introspection, and optionally libcanberra. If compiling, then the library headers are also required.
gtkcord4's CI automatically builds each release for Linux x86_64 and aarch64. See the Releases page for the binaries.
You need Go 1.18+ for this step.
To compile from scratch, run
go install -v github.com/diamondburned/gtkcord4@latest