Thread:Help talk:Installation/Using Composer with MediaWiki 1.25+/installation variation; composer variation

I was not able to install using: php composer.phar require mediawiki/semantic-media-wiki "~2.1" --update-no-dev

However, I was successful @ installing with the following command: composer require mediawiki/semantic-media-wiki "~2.1" --update-no-dev

NB: this install was on a Dreamhost VPS

Hope this helps someone,