Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Node.js Packages

This role installs Node.js packages via npm/pnpm as configured in your vars file.

Prerequisites

Ensure you have a tool provider installed (homebrew, mise, devbox, or nonroot) that provides Node.js.

Installation

ansible-pull -U https://github.com/pbonh/ars.git node.yml --tags "install"

Just Task

just install-node-packages

Configuration

Add Node packages to your vars/local.yml:

---
npm_packages:
  - name: "typescript"
    global: true
  - name: "@angular/cli"
    global: true