Describe the problem/error/question
We have artifactory enabled to fetch from external resources, but even after i configure .npmrc and put it under /home/node and /usr/local/lib/node_modules/n8n/, when i download community node from ui it still go directly to https://registry.npmjs.org/ and can not connect
What is the error message (if any)?
Please share your workflow
n8n setup only
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.84.0
- Database (default: SQLite): postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker
- Operating system: linux RHEL
I have mount my npmrc into 2 places already
I have mount my npmrc into 2 places already
and i manage to see i have changed registry to my corporate registry inside container

but however when i try to install from ui, it seems like it still go for the npm registry
Have you tried setting N8N_COMMUNITY_PACKAGES_REGISTRY
environment variable?
Hi @jabbson seems like this require a paid plan is it. I am selfhosting this on company pc with free plan, is that meaning to fetch from company pc → company’s artifacotry->community node requires a paid plan?
Hello, no, setting system environment variables does not require having a paid plan. Do not confuse this with n8n variables, which you do need a paid plan for. Setting ENV Vars for docker is done by changing your docker command or docker compose file to add an additional value, which will be later picked up by the system when the container starts. See an example here (the part which starts with environment:
)
Hi Jabbson thanks for the prompt reply. I understand setting up env variables is free and thats what i did, but once i come back to UI and want to download it ask me to upgrade my plan like below, or can you please suggest how to get a license thanks!

Ah, you are absolutely correct, it is mentioned in the docs that changing the registry is a paid licensed feature, Apologies for the confusion.
1 Like