Share Environment Vars between WSL and Windows

Hey WSL users—we have more features to share with you! Our latest Windows Insider build lets you share environment variables between WSL and Windows. Starting with Build 17063, let’s look at how you can leverage the new “WSLENV” to enhance environmental variable interop between Win32/WSL. Summary For the pros who’ve already heard about WSLENV and…

4

AF_UNIX comes to Windows

Introduction:  Beginning in Insider Build 17063, you’ll be able to use the unix socket (AF_UNIX) address family on Windows to communicate between Win32 processes. Unix sockets allow inter-process communication (IPC) between processes on the same machine.  Overview:  Support for the unix socket has existed both in BSD and Linux for the longest time, but, not…


[Cross Post] WSL Interoperability with Docker

We frequently get asked about running docker from within the Windows Subsystem for Linux (WSL). We don’t support running the docker daemon directly in WSL. But what you can do is call in to the daemon running under Windows from WSL. What does this let you do? You can create dockerfiles, build them, and run…

5

Background Task Support in WSL

Starting in Windows Insiders Build 17046, WSL supports background tasks (including daemons). In the past, if you opened WSL and started sshd, httpd, screen, or tmux  you needed to have a console window open to keep those tools running. But, starting with 17046, these processes will continue running in the background even after the last…

14

A Guide to Invoking WSL

There are a variety of ways to invoke the Windows Subsystem for Linux from Windows commandlines and they all behave a little differently. Let’s get to the bottom of it.    “wsl” The first (and recommended!) method will start up your default distro. Additionally, it starts the distro in the current working directory where you…

3

Running Node.js on WSL from Visual Studio Code

Starting with the October Insiders Build of Visual Studio Code we have added an easy way to run your Node.js applications on top of the Windows Subsystem for Linux (WSL). This is useful for developers targeting Linux or multiplatform production environments, making it possible to develop on Windows without relying on external systems or virtual machines. We…


WSL & Console team ch…ch…ch…chaaaaanges!

Changes
Changes

Dear friends of WSL (Windows Subsystem for Linux, nee “Bash on [Ubuntu on] Windows”) & Windows Console: I would like to share with you some changes to our org’ that will benefit WSL, Windows Console and the Windows command-line in general moving forward. After shipping a major new release, Microsoft often shuffles teams and people…


What’s new in Windows Console in Windows 10 Fall Creators Update

With Windows 10 Fall Creators Update (FCU) releasing on October 17th 2017, we thought it time to post the list of improvements coming to Windows Console in FCU. Note: For fans of our sister project, Windows Subsystem for Linux (WSL), please also read our post on “What’s New in WSL in FCU”. The Windows Console…


What’s new in WSL in Windows 10 Fall Creators Update

Similarly to the Windows 10 Creators Update, the Windows 10 Fall Creators Update (FCU)  delivers a large number of improvements and features in the Windows Subsystem for Linux (WSL) . Note: For fans of our sister project, Windows Console, please also read our post on “What’s New in Windows Console in FCU”. We’ve been documenting many…

140

Introducing the Windows Console Colortool

Last week we announced the exciting news that Windows Console has a new default color scheme, and also promised you that we would release a tool to make it easier to change the console to your desired scheme. The Windows Console team is proud to present ‘Colortool’ which will give you this functionality! Get the…

51

WSL arrives on Windows Server!

We are very excited to announce that Windows Subsystem for Linux (WSL) is now available on Windows Server! Using WSL, Windows Server administrators, devops engineers, developers, etc., will be able to run their favorite Linux tools, apps, and scripts, alongside their favorite Windows admin tools. This will make it easier than ever before to automate, control,…


Updating the Windows Console Colors

In another blockbuster post, our Summer 2017 Intern, @craigaloewen unveils a subtle, but important improvement to the Console in Windows 10 build 16257. I know many of you have been asking for this! Over to you Craig … The Windows Console’s colors are getting their first overhaul in more than 20 years! Hurray! The default…

80

How to Determine What Just Ran on Windows Console

Ever wonder what was run in that Console window that briefly appeared on your screen? In this guest post, Craig Loewen – our awesome summer intern explains how you can find out what command-line applications run on your machine. Over to you Craig … [This article includes samples from Nathan Gau’s Blog on Using SCOM…


Windows Subsystem for Linux out of Beta!

We’re excited to announce that in Windows 10 Fall Creators Update (FCU) due to ship in fall 2017, Windows Subsystem for Linux (WSL) will no longer be a beta feature and will become a fully supported Windows feature. Early adopters on the Windows Insider program will notice that WSL is no longer marked as a…


SUSE’s Linux distros for WSL now available in the Windows Store

We’re excited to announce that you can now download & install openSUSE Leap 42 and SLES 12 via the Windows Store RIGHT NOW! Important Note: You will need to be running any Windows 10 Insider build >= #16215 and have the WSL optional component enabled. We’ve been excitedly waiting for this moment ever since we…


Ubuntu now available from the Windows Store!

Today, we’re excited to announce that Canonical’s Ubuntu Linux Distro is now available in the Windows Store and can be downloaded and installed on any Windows 10 Insider build >= #16215! Note: Because Windows 10 Insider builds are essentially weekly snapshots of the next version of Windows 10 as it’s being built, this feature will…


Understanding Windows Console Host Settings

Welcome to the first of several posts that describe some of the inner workings of the Windows Console. This post was written by Craig Loewen (our awesome 2017 summer intern), and Paul Campbell (SDE on Windows Console, Cmd, & Bash on Windows). Settings in the Windows Console Host can be a bit tricky to understand….


Developer Mode no longer required for Windows Subsystem for Linux

As of Windows 10 Insider build >= 16215, you no longer have to enable Developer Mode (Settings -> Update & Security -> For Developers) in order to run Bash on Ubuntu on Windows! Why? This restriction was first put in place to safeguard non-technical users from inadvertently using a feature that was, at the time,…


Great Bash Intro Video from Build 2017

In case you’ve not seen it yet, Bash/WSL team members Yosef, Paul & Ben, along with Sean Larkin (WebPack) & Ken Wheeler (FormidableLabs) talk about what Bash/WSL is, what it’s for, and why it’s an essential tool to them! Be sure to watch, and comment below and/or hit us up on Twitter if you have…


Will Linux distros run on Windows 10 S?

Will Linux distros run on Windows 10 S? Many people have asked “You just announced that Linux distro’s are coming to the Windows Store – will they run on Windows 10 S?” The answer is No! Just because an “app” comes from the Windows Store does NOT automatically mean that it’s safe & suitable for…