Ubuntu comes with apt as the package manager, which is a convenient way to list, search, install, update, and uninstall software and libraries in WSL. In no time bash became default shell on Unix like systems including Linux distributions. This should bring up the Unix command-line interface for you to interact with the Unix computing environment. To launch WSL, you can hit Win + R and type in Ubuntu followed by Enter. When you are asked to create a user account and password, we suggest that you choose a Unix username that is that same as your SoC Unix username.
#BASH SHELL FOR WINDOWS 10 HOW TO#
I’m not going to cover how to use WSL on older versions of Windows 10 or other methods for Windows 8/7/XP/3.1 because you shouldn’t be using outdated.
This tutorial is intended for up-to-date versions of Windows 10 from 2020 onwards. 1įollow the on-screen instructions to install. Here’s how to set up and use the Linux shell on Windows using the Windows Subsystem for Linux (WSL). Step 2: Restart your computer Step 3: Install UbuntuĪfter restarting your computer, go to the Microsoft Store and get Ubuntu 18.04 LTS. Press enter if needed to run the command.
#BASH SHELL FOR WINDOWS 10 .EXE#
exe / online / enable-feature / featurename : Microsoft-Windows-Subsystem-Linux / all / norestart Installing WSL 1 Step 1: Enabling WSL on Windows 10 through PowerShellīefore you install WSL 1, you need to first enable the "Windows Subsystem for Linux" feature by running the following command in PowerShell.ĭism. For SoC students, this username is something that sticks with you for the rest of your SoC life - so choose wisely. You have administrator access to your Windows 10 And You have 64-bit versions of Windows 10, version 1607 or higher There are two versions, WSL 1 and, a newer, WSL 2.įor the workshop, it suffices for attendeesīefore you proceed with the instructions below, you need to make sure that: Is the recommended method for having a local Unix computingĮnvironment for your Windows 10 machine, for the purpose ofĬS1010, CS2030, CS2030S, and CS2040 in Semester 1, AY2020/21. Users to run a Unix computing environment within Windows 10. WSL, or Windows Subsystem for Linux, is a subsystem that allows Setting Up Unix Computing Environment on Windows 10 with WSL