$ sudo apt update $ sudo apt install docker-compose-plugin $ sudo rm /usr/local/bin/docker-compose $ echo 'alias docker-compose="docker compose"' >> ~/.bashrc $ source ~/.bashrc $ docker-compose version