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 the Go compiler that's 1.17 or newer for this step.
To compile from scratch, run
go install -v github.com/diamondburned/gtkcord4@latest