How To Install Windows Subsystem for Linux (WSL), Solve File System Error (-2147416359) and Virtual Machine Error

All the solutions in one place

How To Install Windows Subsystem for Linux (WSL), Solve File System Error (-2147416359) and Virtual Machine Error
Photo by Daria Diatlova on Unsplash

Coding isn’t a lazy man’s job.

It took me five days to crack how to install wsl on my Windows 10 Pro hp computer.

It isn’t funny.

I wanted a Linux environment running on my Windows computer for easier development. So, I fired up VS Code and typed this in its Terminal:

wsl - -install

This is the error I got:

Invalid command line option: --install
Copyright (c) Microsoft Corporation. All rights reserved.
Usage: wsl.exe [Argument] [Options...] [CommandLine]Arguments for running Linux binaries:If no command line is provided, wsl.exe launches the default shell.--exec, -e <CommandLine>
Execute the specified command without using the default Linux shell.
--
Pass the remaining command line as is.
Options:
--distribution, -d <Distro>
Run the specified distribution.
--user, -u <UserName>
Run as the specified user.

Leave a Reply