Tuesday 5 March 2019

Running Linux CLI commands in Windows 10

Objective


Enable running Linux CLI native commands in Windows 10 machine.
FYI, it's Windows 10 provided feature, more information here: https://docs.microsoft.com/en-us/windows/wsl/faq 

Steps

  • Enable Linux bash in Windows 10:
    • Go to "Windows features on or off" dialog box:
    • Turn on the "Windows Subsystem for Linux" option:
  • Run bash and install Linux distribution:
    • Open Windows "CMD" command prompt and type "bash" command
    • if you get a message saying "Linux Distributions" not available, the run command "lxrun /install" to install Linux Distribution
  • Test
    • Once you get the bash command prompt, you can type Linux commands now.


Thank You!





No comments:

Post a Comment