Automate NPM Package Installation and Updates for Self-Hosted Environments — n8n Workflow

Medium complexity Trigger7 nodes💎 Other👁 3,154 viewsby Joachim Brindeau

Overview

Are you looking to install external libraries for your self-hosted N8N instance? This automated workflow makes adding npm packages to your N8N environment quick and effortless.

Beware, this workflow only works on self-hosted instances. What This Workflow Does This solution automatically installs npm packages like axios, cheerio, or node-fetch in your self-hosted N8N Docker container, making them immediately available in Code nodes. Key features

✅ Automated Installation: No manual npm command

Workflow Preview

Loading workflow preview...

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 7 nodes, connecting executecommand, manualtrigger, n8ntrigger.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded automate-npm-package-installation-and-updates-for-self-hosted-environments file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Automate NPM Package Installation and Updates for Self-Hosted Environments", "nodes": [...], ...}

Integrations

executecommandmanualtriggern8ntriggerscheduletriggersetsplitout

Get This Workflow

Download and import in one click

View on n8n.io
Nodes7
Complexitymedium
Triggertrigger
Views3,154
CategoryOther

Created by

Joachim Brindeau

Joachim Brindeau

@joachimbrindeau

Tags

executecommandmanualtriggern8ntriggerscheduletriggersetsplitout

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →