What two actions make the standalone docker-compose binary usable from /usr/local/bin/docker-compose?
docker-compose
/usr/local/bin/docker-compose
Download it to the path but leave its permissions unchanged.
Download the platform-specific binary to that path, then grant it executable permission.
Create an empty executable file with that name.
Rename the existing Docker daemon binary to docker-compose.