Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions articles/flow/configuration/development-mode/node-js.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@ On Windows, the executables are in the root of the installation directory:
Since each version is installed into its own directory, multiple Node.js versions can coexist side by side under `~/.vaadin/`.


[role="since:com.vaadin:vaadin@V25.3"]
=== Removing Unused Installations

Every Node.js version a project has needed stays under `~/.vaadin/`, which adds up over the years. Vaadin cleans up after itself: each installation records when it was last taken into use, and the ones unused for six months are removed the next time a new version is installed. Downloaded archives are removed as well, including the ones earlier Vaadin versions left behind next to the unpacked installation.

The cleanup stays on the safe side:

- Only directories and archives named like an automatically installed Node.js are touched. Anything else under `~/.vaadin/` is left alone.
- The installation in use is never removed, and neither is the last remaining one, so the folder always keeps at least one version.
- An installation whose last use isn't known yet is kept, and its six months start from the moment Vaadin first sees it.


=== Resolution Order

Vaadin resolves which Node.js installation to use in the following order:
Expand Down
Loading