How to Run Linux/Bash on Windows 10 Using the Built-In Windows Subsystem for Linux

Corey Schafer · 511K views · 2018 · 14:31

Open on YouTube

Linux & open-source ecosystemsTesting, debugging & developer toolstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as the setup guide they followed to get Bash and Ubuntu running on Windows, often while troubleshooting issues that came afterward.

Recommended by 0 people across 0 different months, 2018 to 2022.

What it is

A Corey Schafer tutorial showing how to enable and install the Windows Subsystem for Linux on Windows 10 so you can run Bash and Linux commands natively. It walks through turning on the feature, installing a distribution, and a quick overview of how it works.

What people said

Cites Zeus · 2018-11 · Stack Overflow · on “error using gcp cloud build to create dockerfile”

I didn't open Powershell in the gcloud shell, just opened it on its own. I've now created the files using Notepad++, installed linux/bash on windows ``( [this video] )`` and continuing to work through the quickstart guide

Cites E. B · 2020-06 · Stack Overflow · on “vs code git error: Git: /usr/bin/bash: init: No such file or directory”

EDIT: I've rebooted my computer, and the issue is fixed. I have no idea why it fixed it. In vs code on windows, when I try to Initialize Repository, I get the error [LINK] However, it used to worked fine. It changed when I tried to install Ubuntu on Windows following this video [this video] . Git is installed, and the path is in the .json file. [LINK] [LINK] [LINK]

Cites M.R · 2022-11 · Stack Overflow · on “Error: EPERM: operation not permitted errno:-1”

I wanted to make a react native app so I was following this video [LINK] React Website Tutorial. I am primarily on windows I wanted my computer to accept commands just like Brian's. So I figured out a way [this video] Using Corry's method on installing the Ubuntu app I also installed a couple of things listed below and tried running the command npx create-react-app added 1394 packages in 5m 213 packages are looking for funding run `npm fund` for details node:internal/fs/utils:348 throw err; ^ Error: EPERM: operation not permitted, copyfile '/mnt/c/Users/user/Visual Studio Code Projects/website/react-website/node_modules/cra-template/template/README.md' -> '/mnt/c/Users/user/Visual Studio Code Pro