<aside> 📢 If you'd like to setup a linux subsystem on Windows, follow Windows Subsystem for Linux (WSL) Setup.
</aside>
This guide expects you to have administrative access to your computer.
First, open up command prompt or powershell in administrative access (right click on it and choose Run as administrator
).
To install everything, we will use chocolatey, a windows package manager. Install chocolatey by copying and pasting the commands shown here.
Let's first install python.
$ choco install python
Now, close your current command prompt or powershell and open a new one. Then, run:
$ python -V
It should show something like python 3.7.1
.
Then, let's upgrade pip
and install pipenv as well as virtualenvwrapper-win
$ python -m pip install -U pip # upgrade pip
$ python -m pip install pipenv virtualenvwrapper-win
You can now use pipenv or create your own virtualenv with mkvirtualenv
.
$ choco install nodejs
Close and Reopen your terminal, and you should see the nodejs and npm version when you run:
$ node -v
$ npm -V