Skip to content

MD moosh install

Peter Willendrup edited this page Feb 4, 2016 · 1 revision

Install moosh via git, e.g. to /srv/mcweb/moosh

# Clone git repo
git clone git://github.com/tmuras/moosh.git
cd moosh
# Use wget to install a copy of getcomposer locally
wget -qO- https://getcomposer.org/installer | php
# Install moosh
./composer.phar install
# Put a link in /usr/local/bin
sudo ln -s $PWD/moosh.php /usr/local/bin/moosh

Note that most moosh commands only work when executed from the moodle installation dir.