Get the current version of Docker Compose installed on my macOS machine?

nick asked this question 1 year, 5 months ago
nick on Apr 25, 2022

My Macbook Pro is running Monterey 12.3.

How can I get the current version number for Docker Compose that's running on my machine?

Is this possible to do using the command line? Or is some other way?

Thanks for the help in advance!

2 suggested answers
timmy123 on May 14, 2022

If you execute this command:

docker-compose --version

It should output the version of the docker-compose installed to your machine:

Docker Compose version 2.4.1

If docker-compose isn't installed on your machine, you'll receive an error message instead.

0 replies
yaboy01 on May 14, 2022

docker-compose -v also works the same as the command with the --version flag option.

0 replies