python in windows
open powershell from start menu
type python and continue install
python
python --version
install pip, refer to https://pip.pypa.io/en/stable/installation/
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
install requests lib
pip install requests
nvm in windows
download and install nvm.exe from https://github.com/coreybutler/nvm-windows/releases
reopen powershell with administrator mode (right click on powershell menu and select administrator)
nvm on
nvm install lts
nvm list
mine is node version 20.12.2
nvm use 20.12.2
cd C:\Program Files\nodejs
npx is under nodejs directory. now you can use it.
Top comments (0)