The first thing you need to do is to enable Windows Subsystem for Linux
feature from PowerShell.
Go to the Start menu and search for PowerShell. Run it as administrator:
Once you have the PowerShell running, use the command below to enable Bash
in Windows 10.
Enable-WindowsOptionalFeature -Online -FeatureName
Microsoft-Windows-Subsystem-Linux
You’ll be asked to confirm your choice. Type Y or press enter:

Step 2: Download a Linux system from the Windows store
Once your system has rebooted, go to the Windows Store and search for
“Linux.”
You’ll see the option to install Ubuntu or SUSE.

On Thu, Dec 5, 2019 at 12:53 AM Pat Farrell <pat22...@gmail.com> wrote:

> I've got a new machine. I run Windows 10, but use bash all the time for
> all my command line stuff, and running vim, etc.
> When I did it on the prior machine, it was a fairly large pain to get go
> to work properly in all the environments, the special go shell, PowerShell,
> bash, etc.
>
> I'd like to do it directly and cleanly this time.
>
> Any tips and tricks I should know about?
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/9c41b516-60a1-44e8-9b90-9cb5f65c8278%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/9c41b516-60a1-44e8-9b90-9cb5f65c8278%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABRP1o_PN471pMh3Wi6W6oZ%3D5WKzpCujFLiV-nm3a_8p9ADZSA%40mail.gmail.com.

Reply via email to