Skip to content

Install NVM on macOS or Ubuntu developer machines

License

Notifications You must be signed in to change notification settings

ChrisOgden/ansible-nvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markosamuli.nvm

Build Status

Ansible role to install Node.js with NVM on macOS or Ubuntu Developer machine.

It doesn't use Homebrew for installing nvm on macOS as it's not a support method by the upstream.

Role Variables

# We're installing stable Node.js version by default
nvm_default_node_version: stable
nvm_node_versions:
  - "{{ nvm_default_node_version }}"

# Initialize shell profile scripts
nvm_init_shell: yes

# Define the shell profile scripts to initialiaze
nvm_shell_profile_scripts:
  - .bashrc
  - .zshrc

Example Playbook

- hosts: localhost
  connection: local
  roles:
     - { role: markosamuli.nvm }

License

MIT

Author Information

About

Install NVM on macOS or Ubuntu developer machines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 62.4%
  • Shell 37.6%