Note: The documentation below is for an older version of Yeoman and has been deprecated. Please instead see the Getting Started guide for information on how to install the latest version of Yeoman
Yeoman used to have an automated installer, which worked great on fresher systems, but had trouble with more used and configured systems. It has been officially deprecated, though is maintained at the Yeoman-scripts repo. It's recommended for people with less experience installing node, homebrew packages, etc. Below is the recommended installation route.
The audit script can tell you what you're missing in order to install Yeoman. (Feel free to read the script source first, if you like). You can run it as many times are you want:
curl -L get.yeoman.io | bash
The script recommends how to install what's missing, but a more verbose description follows:
NOTE: Windows is not officially supported yet. Some things might not work!
To install Yeoman and its dependencies using Chocolatey:
1 | Open cmd & paste
C:> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://bit.ly/psChocInstall'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
2 | Type
c:> cinst yeoman
It will fetch & install all dependent files. Done!
Full instructions here, which includes how to install each component individually if Chocolatey doesn't work.
(Debian and ArchLinux users can check below).
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go). After installing, run
brew doctorand follow the recommendations.
brew update. Your formulae are likely outdated.
up2date. Install jpegtran on linux using
sudo apt-get install libjpeg-progs
git optipng jpeg-turbo phantomjs
gitfor obvious reasons,
jpeg-turbofor image optimization in the build process. The PhantomJS install is used for a browser-run test suite.
ruby -v). If not, install it. (Ruby is used with Compass)
npm install yeoman -g. You may potentially need to run this with
(Also, specific instructions for Debian users here).
(and for ArchLinux users, yeoman is present in AUR).
Dependencies in list form:
Also, Homebrew is recommended on Mac to install phantomjs, jpegtran, optipng. It depends on Xcode CLI Tools.
For uninstall, reinstall, running an edge build, and other issues, see Additional FAQ
Last edited by addyosmani,