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

Answered
nick asked this question 5 months ago
nick on Apr 25

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

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

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

0 replies
Answered