Nodejs Virtualenv on Windows
1. Nodeenv
Nodeenv is a python nodule. Install it using python:
python3 install nodeenv
Create nodeenv env with specific nodejs version:
python3 -m nodeenv --node=18.15.0 nodeenv
Activate:
Set-ExecutionPolicy Unrestricted -Scope Process .\nodeenv\Scripts\Activate.ps1
Deactivate:
deactivate
Other nodejs stuffs
Yarn: -g but probably inside nodeenv
npm install -g yarn