BlogWikiAbout

Kyle Pericak

"It works in my environment"

Installing Node.js with Ansible

Installing Node.js with Ansible

Created: 2019-12-13, Modified: 2019-12-13

How to install a current Node.js version on Ubuntu with Ansible using the nodesource apt repository. Covers why NVM fails in Ansible and includes complete playbook tasks for the apt key, repo, nodejs, and npm packages.

Blog code last updated on 2026-04-16: 8579f34f0a3ec5b8043d5eade8e87124d41cf83b