Add community node in no internet computer

Hi i current selfhost a n8n on a no internet computer now i try to add my community node to that n8n but i dont know how to do it .
If some one know a way please help

Hey @M_nh_D_c,

Unfortunately it’s not possible to install community nodes without internet access

Yes you can but it is a manual procedure. I have done it.

You have to map the path that the node modules directory is to the host and also edit the database sqlite or postgresql

Map

/host/path:/home/node/.n8n/nodes/node_modules

Download and extract the npm package there

chown -R 1000:1000 community_module_directory

Insert into tables installed_nodes and installed_packages the appropriate data.

Try to setup a demo n8n container that has access to the internet. download the community node. Copy the directory inside the container to the mapped path of the offline host and also copy the INSERT statements from these two tables and INSERT them to the offline host’s database.

It is bit tedious but it is working.

You’ll need to manually download the community node package on a computer with internet, then transfer it via USB to your offline machine and install locally. For secure remote access to isolated systems, I’ve used fast vpn by namecheap and it’s been mostly reliable. Setup was straightforward, speeds are consistently good for remote work, and pricing is reasonable. Occasionally experienced a connection drop during long sessions and one server was slow, but overall it’s been solid for accessing development environments securely. Would recommend for similar use cases.