Skip to content

Instantly share code, notes, and snippets.

@pavelbinar
Last active December 28, 2015 07:29
Show Gist options
  • Select an option

  • Save pavelbinar/7465080 to your computer and use it in GitHub Desktop.

Select an option

Save pavelbinar/7465080 to your computer and use it in GitHub Desktop.
Terminal: Yeoman commands
# Yeoman Commands
# Install new generator
npm install -g yo generator-[nameOfGenerator]
# Uninstall generator
npm uninstall -g yo generator-[nameOfGenerator]
# Example
npm install -g generator-angular # install generator
yo angular # scaffold out a AngularJS project
bower install angular-ui # install a dependency for your project from Bower
grunt test # test your app
grunt server # preview your app
grunt # build the application for deployment
# Bootstrap
yo bootstrap
bower init
# Update Yeoman
sudo npm cache clean
sudo npm update -g yo
# Install webapp and update to bootstrap 3
yo webapp
bower install --save sass-bootstrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment