1

I have OpenAtrium2 instance and I want to check it version from CLI.

How can I do it?

3

Just run the following command from the root directory of your Open Atrium installation:

drush status-report

This should give you the output similar to the status report screen in the standard Drupal backend. In my Open Atrium installation, one of the lines reads:

Install profile            Info      OpenAtrium (openatrium-7.x-2.18)

So in this case I'm running Open Atrium version 2.18.

2
  • 1
    Cool, that something but can I get only version without rest of the information, so I can process it further in e.g. script? It would be great to have same functionality like in core-status for drupal version: $ drush st --format=list drupal_version -> 7.24
    – sobi3ch
    Nov 6 '14 at 14:11
  • I found this drush status-report --fields=description | grep OpenAtrium | cut -c25- | cut -d')' -f1 but it's not ideal
    – sobi3ch
    Nov 6 '14 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.