2018-11-16 04:53:14 +01:00
|
|
|
# Setting up the environment
|
2018-10-24 04:55:07 +02:00
|
|
|
|
2018-11-16 04:53:14 +01:00
|
|
|
This page describes what you need to install before you can run the tools from the various repositories. We expect that you use Windows 10.
|
|
|
|
|
|
|
|
## Steps
|
2018-10-24 04:55:07 +02:00
|
|
|
|
|
|
|
1. On Windows 10, install the Windows Subsystem for Linux (WSL) with either the Ubuntu or Debian distribution.
|
|
|
|
|
|
|
|
2. Open a command line shell: Press Win+R and enter `bash`.
|
|
|
|
|
2018-11-16 04:53:14 +01:00
|
|
|
3. Install Node.js ([source](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)):
|
2018-10-24 04:55:07 +02:00
|
|
|
|
|
|
|
```bash
|
2018-11-16 04:53:14 +01:00
|
|
|
wget -qO- https://deb.nodesource.com/setup_11.x | sudo -E bash -
|
2018-10-24 04:55:07 +02:00
|
|
|
sudo apt-get install -y nodejs
|
|
|
|
```
|
|
|
|
|
2018-11-16 04:53:14 +01:00
|
|
|
4. Install npm modules:
|
2018-10-24 04:55:07 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
sudo npm install -g typescript
|
|
|
|
```
|