To install it's simply:
$ mkdir -p ~/.docker/cli-plugins
$ curl -SL https://github.com/docker/compose/releases/download/v2.23.0/... -o ~/.docker/cli-plugins/docker-compose
1. https://docs.docker.com/compose/install/linux
If you put the binary in that magic Docker plugins directory, it'll treat the binary as a plugin and let you do `docker compose`.