Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


nodenv (10) Versions 1.0.0

Installs/Configures nodenv

cookbook 'nodenv', '= 1.0.0', :supermarket
cookbook 'nodenv', '= 1.0.0'
knife supermarket install nodenv
knife supermarket download nodenv
Quality 71%

Chef cookbook

Nodenv Cookbook

Chef resource for nodenv installs, configuration and management of node versions.


cookbook 'nodenv', '~> 1.0.0'


You can choose whether a user or a system install (or both). Check test recipes for working examples.



nodenv_user 'user'

|:user|String||must be and existing user|
|:nodenv_root|String|:user's home|A directory that must be writable by :user|
|:git_url|String||a valid git url|
|:git_revision|String|master|choose a branch|


nodenv_system 'system'

|:git_url|String||a valid git url|
|:git_revision|String|master|choose a branch|


Commands without user property will assume system-wide installation.


Install a node version for user/system nodenv.

nodenv_install '8.2.1' do
  user 'user'

nodenv_install '9.5.0'

|:version|String||must be a valid node version, acts as name property|
|:user|String|root|must be an existing user|


Set a global node version for user/system-wide nodenv.

nodenv_global '8.2.1' do
  user 'user'

nodenv_global '9.5.0'

|:version|String||must be installed node versions, acts as name property|
|:user|String|root|must be an existing user|


Check [](


Check kitchen converge docs.


Based in ruby_rbenv.

Dependent cookbooks

git ~> 8.0.0
node_build ~> 1.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.


All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.



  • System install, reusing user install ### Updated
  • Update readme

[0.1.5] - 2018-02-2


  • Nodenv Install resource
  • Development at readme ### Removed
  • Remove testing doc ### Updated
  • Add testing to readme
  • Install git with cookbook

[0.1.4] - 2018-01-25


  • Update nodenv init runs only if nodenv is installed

[0.1.3] - 2018-01-25


  • Add a test cookbook with inspec tests
  • Add root_path helper as we keep trying to find the root path for commands
  • Add inspec tests for global version setting ### Fixed
  • Fix template to look at the nodenv cookbook rather than the wrapper cookbook (default)
  • Fix typo in command resource ### Updated
  • Grab the rbenv_script and make a nodenv_command resource so we can get the global version easily. ### Removed
  • Remove Vagrantfile we no longer require
  • Remove default delivery and add the community cookbook toml
  • Remove git_url we're no longer using
  • Remove default attributes.
  • Remove the default recipe as we're a library cookbook and we now have a test cookbook
  • Remove user_home as it's no longer used

[0.1.2] - 2017-08-06


  • Add testing guide
  • Add contributing guide
  • Add code of conduct ### Remove
  • Remove centos from automated testing

[0.1.1] - 2017-08-06


  • Add user install

Collaborator Number Metric

1.0.0 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

1.0.0 passed this metric

Foodcritic Metric

1.0.0 failed this metric

FC118: Resource property setting name_attribute vs. name_property: nodenv/resources/user.rb:1
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric

1.0.0 passed this metric

No Binaries Metric

1.0.0 passed this metric

Testing File Metric

1.0.0 passed this metric

Version Tag Metric

1.0.0 passed this metric