Skip to content

Commit 76eeee5

Browse files
authored
Merge pull request #725 from NazmanRosman/master
Issue #2302
2 parents 2c64d69 + ef50ffd commit 76eeee5

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

README.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,37 @@ git fetch upstream
6262
git pull
6363
```
6464

65-
## Windows
65+
## Windows Install
6666

67-
[Git bash](https://git-scm.com/) should already be installed on your Windows machine and can be found by searching through your computer's applications or by right-clicking anywhere inside of the File Explorer.
68-
[Cygwin command line](https://www.cygwin.com/) is lightly tested, but slower than a true Bash environment.
67+
### Installing Windows Subsystem for Linux (WSL)
68+
[Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install) is required for this setup. To install WSL, run the following command in Command Prompt or PowerShell:
69+
```
70+
wsl --install
71+
```
72+
### Installing Node.js in WSL
73+
Refer to the official Windows guide: [Install Node.js on Windows Subsystem for Linux (WSL2)](https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-wsl)
74+
75+
### Installing Yarn in WSL
76+
To install Yarn, open WSL and run:
77+
```
78+
curl -o- -L https://yarnpkg.com/install.sh | bash
79+
```
80+
To install Yarn globally, restart WSL and run:
81+
```
82+
npm install --global yarn
83+
```
84+
To verify installation, run:
85+
```
86+
yarn --version
87+
```
6988

70-
### Windows Install
89+
### Clone and Set Up webcomponents in WSL
7190

72-
To properly configure git endlines for Windows, run this configuration
91+
Run this configuration in WSL to properly configure git endlines for Windows:
7392
```bash
7493
git config --global core.autocrlf true
7594
```
76-
95+
To clone webcomponents, run:
7796
```bash
7897
git clone https://github.com/haxtheweb/webcomponents.git
7998
cd webcomponents

0 commit comments

Comments
 (0)