No description, website, or topics provided.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 102 commits behind mdxp:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
attributes Updated the defaults to the recent version of node and npm Jul 23, 2012
.gitignore Adding Travis support for Foodcritic Jun 19, 2012
.travis.yml Adding Travis support for Foodcritic Jun 19, 2012 installation from packages available as an option; source install sti… Mar 5, 2012 add travisci build icon Jun 19, 2012
metadata.rb installation from packages available as an option; source install sti… Mar 5, 2012

nodejs-cookbook Build Status


Installs Node.JS



  • Tested on Debian 5+ and Ubuntu 10.04
  • Should work fine on Centos, RHEL, etc.


  • build-essential

Opscode cookbooks (


  • nodejs['install_method'] = source or package
  • nodejs['version'] - release version of node to install
  • nodejs['src_url'] - download location for node source tarball
  • nodejs['dir'] - location where node will be installed, default /usr/local
  • nodejs['npm'] - version of npm to install
  • nodejs['npm_src_url'] - download location for npm source tarball


Include the nodejs recipe to install node on your system based on the default installation method:

  • include_recipe "nodejs"

Include the install_from_source recipe to install node from sources:

  • include_recipe "nodejs::install_from_source"

Include the install_from_package recipe to install node from packages:

  • include_recipe "nodejs::install_from_package"

Include the npm recipe to install npm:

  • include_recipe "nodejs::npm"


Author:: Marius Ducea ( Author:: Nathan L Smith (

Copyright:: 2010-2012, Promet Solutions Copyright:: 2012, Cramer Development, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.