How to install jsdom for all Node.js projects in Eclipse?

I’m currently using Eclipse 2020-06 with Node.js 14 and created a “General” project with a single .js file to test some Javascript code. I opened a command prompt and ran npm install [email protected] to install jsdom but this code:

const jsdom = require("jsdom");

… caused the following error when I ran the .js file:

Error: Cannot find module ‘jsdom’

I cd-ed to the project folder and ran the install command again, now the code runs without any errors.

How do I install this specific version of jsdom in a way that all current and future Eclipse projects are going to find it too, without having to install it (= run the command) for every single project? There’s no option to access the build path for this project (“no actions available”) and so far I haven’t been able to find any information about how to link to it with an environment variable or if there’s a global setting for it in Eclipse.