This repo contains compose-desktop releases.
Download the latest version of the binary matching your OS and architecture from the Releases page.
Move the binary to ~/.docker/cli-plugins/docker-compose
Change its permissions chmod a+x ~/.docker/cli-plugins/docker-compose