All the solutions in one place
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.
