Automate NPM package installation and updates for self-hosted environments
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 7 nodes and runs on a schedule (every day) (plus 2 other triggers). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (every day) (plus 2 other triggers).
- libraries_set (Edit Fields (Set)): sets 1 field: libraries
- libraries_array (Edit Fields (Set)): sets 1 field: libraries
- libraries_split (Split Out): splits a list into separate items
- library_install (Execute Command): runs a shell command on the n8n host
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Edit Fields (Set)
n8n-nodes-base.set - Manual Trigger
n8n-nodes-base.manualTrigger - Split Out
n8n-nodes-base.splitOut - Execute Command
n8n-nodes-base.executeCommand - Schedule Trigger
n8n-nodes-base.scheduleTrigger - n8n Trigger
n8n-nodes-base.n8nTrigger
From the author
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…