---
title: "Step-by-Step Playwright Installation on Windows"
description: "**Step-by-Step Playwright Installation on Windows** * **Steps to Install Playwright** 1. **Create a folder** to install Playwright. ![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw1-1024x360.png) 2. **Open the folder location in VS Code** (File → Open Folder). ![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw2.png) 3. **Paste the folder path** and click **Select Folder**.…"
url: "https://vinothqaacademy.com/docs/step-by-step-playwright-installation-on-windows/"
updated: "2025-08-22"
category: Playwright
tags:
  - Playwright Tutorials
---

# Step-by-Step Playwright Installation on Windows

**Step-by-Step Playwright Installation on Windows**

* **Steps to Install Playwright**

1. **Create a folder** to install Playwright.

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw1-1024x360.png)

2. **Open the folder location in VS Code** (File → Open Folder).

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw2.png)

3. **Paste the folder path** and click **Select Folder**.

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw3-1024x643.png)

4. **Open a new terminal** in VS Code.

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw4.png)

5. **Run the following command** in the terminal:

```
npm init playwright@latest
```

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw5-1024x196.png)

6. **Confirm installation**

- It will ask to install the required package `create-playwright@<version>`.
- Type **y** and press **Enter**.

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw6-1024x148.png)

7. **Choose project setup options**

Answer the setup questions:

- Do you want to use TypeScript or JavaScript? → Select **TypeScript** (or JavaScript as needed).
- Where to put your end-to-end tests? → Default is the **tests** folder.
- Add a GitHub Actions workflow? → Select **No**.
- Install Playwright browsers? → Select **Yes**.

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw7-1024x226.png)

8. **Wait for initialization**

Playwright will create the project structure and generate a `package.json` file.

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw8-1024x366.png)

9. **Browser installation**

The setup will continue by installing **Chromium, Firefox, and WebKit** browsers.

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw9-1024x752.png)

10. **Installation complete**

Once finished, Playwright will be installed successfully.

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw10-1024x582.png)

![](https://vinothqaacademy.com/wp-content/uploads/2025/08/pw11-1024x334.png)
