Install Yeoman
# the following directories must exist with the right permission
mkdir /root/.config
chmod -R 0777 /root/.config
chmod -R 0777 /root/.composer/cache
chmod -R 0777 /root/.npm
# install yeoman
npm install -g yo
# install a generator
npm install -g generator-[generator]
# run a generator
yo [generator]