Yeoman on FreeBSD 9


In this post I will go through the steps I had to perform in order to get Yeoman up and running on relatively fresh installation of FreeBSD 9 with Xorg and Desktop Environment.

Check your system

Run curl -L | bash in order to see what dependencies you need to install. Since my commit 8630c44 was kindly merged into Yeoman’s master branch this step is possible on FreeBSD.

Install Dependencies

The list of dependencies may vary with time. Refer to Yeoman’s wiki for more up-to-date list.

Please note that there are alternative methods for installing software in FreeBSD so you decide what method to use when installing those dependencies, however following worked for me.

Install as root user:

cd /usr/ports/devel/git && make install clean

PhantomJS (this may take a while)
cd /usr/ports/lang/phantomjs && make install clean

cd /usr/ports/www/node && make install clean

cd /usr/ports/www/npm && make install clean

Google Chrome (this may take a while)
cd /usr/ports/www/chromium && make install clean

cd /usr/ports/textproc/libyaml && make install clean

cd /usr/ports/graphics/optipng && make install clean

Install following as normal user:

Rvm + Ruby
Refer to for installation instructions

gem install compass

Verify Dependencies

Run curl -L | bash again to verify that you have completed the list of required dependencies.

Say hello to Yeoman

Finally, when all required dependencies are installed we’re ready (hopefully) to say hello to Yeoman:
npm install -g yeoman

Known issues


Hope this post will be helpful to anyone besides myself.

If you followed this post and found any required steps that are not covered, please leave a comment below.

Icon of Twitter.comThis is graphical representation of Twitter icon