- 📁 Applications
Blg Volta - 📁 Development
-
📁 Astro
Blg Directory Structure Of Blogs Collection Blg Astro Errors Blg Imagemetadata Blg Links Blg Search Tool -
📁 T4
Blg Custom Output Blg Editors Blg Template Content
Blg Chocolatey Blg Web Resources Blg Git Commands -
📁 Astro
- 📁 Food
- 📁 Hardware
- 📁 Helpful
- 📁 Keyboard
-
📁 Ergogen
Blg Articles Blg Footprints Blg Get Keyboard Layout File From Ergogen Blg Ergogen Links Blg Mounting Hole In Outline
Blg Build Guides Blg Components Blg Kicad Examples Blg Keyboard Roadmap Blg Index Blg Keylayer Plate Thickness Blg Splitkb Blg Tools -
📁 Ergogen
| Blg | Roadmap |
Volta
published: 2025-03-21
Simply: allows more than one application with different requirements for versions of node to run together on the same machine at the same time
-
winget install Volta.Voltaor
choco install volta -y -
navigate to code that you need node installed on in terminal and run the following in that directory
volta install node@14.21.3where
14.21.3is the version of node needed in the 1st directory -
then navigate to code for the 2nd directory
volta install node@16.20.2where
16.20.2is the version of node needed in the 2nd directoryinstalling a version of node with Volta makes that version available to use in any other application on the machine
if using the same version again use the pin command instead
note: if VSCode was open during the above install, then it will need to be restarted for the commands below to work
-
The pin command adds a volta entry to package.json and means that whenever you open the workspace volta loads up the specified node (and appropriate npm)
run
volta pin node@16.20.2to use this version of node in that directoryby pining the version you save it in your
package.jsonfile which makes it available to install withnpm i -
running the application in the VS terminal starts the watch using the correct node version
Can have both projects watched with different versions at the same time
notes:
- Needed
npm clean-installbefore first run after getting the new node version. - NVM does not need to be uninstalled for volta to work