DEV Community

Youngjoon Won
Youngjoon Won

Posted on

python/nvm install in windows

python in windows

open powershell from start menu

type python and continue install

python
Enter fullscreen mode Exit fullscreen mode
python --version 
Enter fullscreen mode Exit fullscreen mode

install pip, refer to https://pip.pypa.io/en/stable/installation/

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Enter fullscreen mode Exit fullscreen mode
python get-pip.py
Enter fullscreen mode Exit fullscreen mode

install requests lib

pip install requests
Enter fullscreen mode Exit fullscreen mode

Image description

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
Enter fullscreen mode Exit fullscreen mode

mine is node version 20.12.2

nvm use 20.12.2
cd C:\Program Files\nodejs
Enter fullscreen mode Exit fullscreen mode

Image description

npx is under nodejs directory. now you can use it.

Image description

Top comments (0)