Easy Tech Tuts
n8n

How to Uninstall n8n Completely, Locally using npm Easily 2026

By Impran M N

Simply running an npm uninstall command often leaves behind hidden configuration folders, cached data, and local database files. This guide walks through fully removing a local n8n installation, from stopping the running process to clearing out every leftover trace before you reinstall or move on.

01Stop the running n8n process

Halt any live terminal session running n8n to safely disconnect the local server before uninstalling.

02Run the npm uninstall command

Execute the standard npm global uninstall command to remove the core n8n package from your machine.

03Find hidden configuration folders

Navigate into your user profile's hidden directories to locate leftover n8n configuration paths.

04Delete local database and settings files

Manually remove local database files and any remaining environment settings data.

05Clear the npm cache

Run an npm cache clean command to wipe out stale dependency artifacts left behind from the install.

06Verify the removal

Run a version check in the terminal to confirm n8n is no longer installed before reinstalling anything new.

FAQ

Frequently asked questions

Does npm uninstall remove everything automatically?

No, npm uninstall removes the package itself, but hidden config folders and local database files typically need to be deleted manually.

Where does n8n store its local data?

It stores workflow data and settings in a hidden configuration directory inside your user profile folder.

Do I need to clear the npm cache too?

It's a good idea if you plan to reinstall, since a clean cache helps avoid conflicts with stale dependency artifacts.

How do I confirm the uninstall worked?

Run a version check command in your terminal — if n8n is fully removed, the command should no longer return a version number.

Watch the full walkthrough

The same steps, demonstrated on screen from start to finish.