Quick Answer: How to Run Linux Commands on Windows?
Contents

Open Start, do a search for bash.exe, and press Enter.

On the command prompt, type y and press Enter to download and install Bash from the Windows Store.

Then you’ll need to create a default UNIX user account.

How do I run Unix commands on Windows 10?

How to Enable the Linux Bash Shell in Windows 10

  • Navigate to Settings.
  • Click Update & security.
  • Select For Developers in the left column.
  • Select Developer Mode under “Use developer features” if it’s not already enabled.
  • Navigate to the Control Panel (the old Windows control panel).
  • Select Programs and Features.
  • Click “Turn Windows features on or off.”

Can we run Unix commands in Windows?

Cygwin gives you GNU and open-source UNIX® and UNIX-like (e.g. Linux) commands compiled for Windows running in a CMD window. Microsoft Bash on Ubuntu on Windows gives you Linux commands but running in its own command shell window. GNU/Linux) environment in Windows is to install the Cygwin package.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest