All Projects → Layer8Err → WSL2setup

Layer8Err / WSL2setup

Licence: BSD-2-Clause license
Install WSL2 and handle dependencies

Programming Languages

powershell
5483 projects

Projects that are alternatives of or similar to WSL2setup

dotfiles
Cross platform home directory settings
Stars: ✭ 17 (-69.09%)
Mutual labels:  wsl2
portos
WSL2 distribution manager (coming soon)
Stars: ✭ 26 (-52.73%)
Mutual labels:  wsl2
wsl-debian-boxes
Scripts to create multiple personalized WSL machines fast.
Stars: ✭ 22 (-60%)
Mutual labels:  wsl2
runx
Provide X server on MS Windows with cookie authentication.
Stars: ✭ 67 (+21.82%)
Mutual labels:  wsl2
nix-config
NixOS configuration (also on WSL)
Stars: ✭ 51 (-7.27%)
Mutual labels:  wsl2
config-public
Linux/WSL config to optimize ergonomics, security, and productivity: vim/neovim, zsh, tmux, i3, emacs, vscode, ipython, jupyter, ranger, fzf, kitty, xkb, selfquant, firejail, systemd, etc
Stars: ✭ 14 (-74.55%)
Mutual labels:  wsl2
subsystemctl
Utility to run systemd in WSL2 with a Linux namespace
Stars: ✭ 313 (+469.09%)
Mutual labels:  wsl2
dotfiles
My dotfiles for Mac / Linux boxes and WSL
Stars: ✭ 35 (-36.36%)
Mutual labels:  wsl2
WSL-Context-Menu-Manager
Manages the context menu for your Linux tools in WSL/WSL2 for Windows.
Stars: ✭ 25 (-54.55%)
Mutual labels:  wsl2
wsl-distrod
Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
Stars: ✭ 1,637 (+2876.36%)
Mutual labels:  wsl2
WSLackware
Slackware for WSL!
Stars: ✭ 38 (-30.91%)
Mutual labels:  wsl2
proton wsl2
Proton Kernel for the Windows Subsystem for Linux 2 (WSL 2). Highly experimental and always at the mercy of Windows Update.
Stars: ✭ 23 (-58.18%)
Mutual labels:  wsl2
WSAGAScript
Scripts to install Google Apps into a WSA image. Plus optional root
Stars: ✭ 2,006 (+3547.27%)
Mutual labels:  wsl2
one-script-wsl2-systemd
The one-script variant of the systemd hack for WSL2
Stars: ✭ 196 (+256.36%)
Mutual labels:  wsl2
idfx
Tool for flash/monitor ESP-IDF and ESP8266_SDK apps on the WSL2 ⚡
Stars: ✭ 71 (+29.09%)
Mutual labels:  wsl2
usbipd-win
Windows software for sharing locally connected USB devices to other machines, including Hyper-V guests and WSL 2.
Stars: ✭ 1,321 (+2301.82%)
Mutual labels:  wsl2
nvim-ghost.nvim
👻 GhostText plugin for Neovim with zero dependencies 🎉 Supports neovim running inside WSL too! 🥳 Windows/Linux/macOS supported out-of-the-box! 😄 (Other OSes need python3.6+ installed)
Stars: ✭ 32 (-41.82%)
Mutual labels:  wsl2
wsl-systemd
A script that spawns a namespace with systemd as PID1, and allows you to spawn interactive sessions or exec commands inside it
Stars: ✭ 37 (-32.73%)
Mutual labels:  wsl2
dotfiles
Dotbot managed dotfiles for a polyglot dev using WSL. Includes PowerShell stuff for Windows Installation
Stars: ✭ 14 (-74.55%)
Mutual labels:  wsl2
convey
Communication through a serial port or named pipe
Stars: ✭ 46 (-16.36%)
Mutual labels:  wsl2

WSL2setup

This script allows you to quickly get up and running with WSL2 on Windows 10 Build 2004. This script allows allows for easy install of various Linux distros.

Quickstart

To quickly get up and running with WSL2, open a new PowerShell window as "Admin" and run the following one-liner:

iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JfKrM'))

You will have to run this one-liner twice.

  • Once to install Windows pre-requisites
  • Once after the computer re-boots to update the WSL2 kernel and install a WSL distro (Ubuntu 18.04 recommended)

Prerequisites

You will need to have Windows 10 Build 2004 installed before you can use WSL2. If you do not already have Build 2004 or later installed, you can use the Windows Update Assistant to upgrade to the latest 2004 build.

Testing

This script is tested and working on bare-metal as well as a Hyper-V VM with nested virtualization turned on.

Make sure that Dynamic Memory is disabled. To turn on nested virtualization on Windows Server 2016+ or Windows 10 you can use the following command:

(Get-VM).Name # Get a list of VM names
Set-VMProcessor -VMName [TestVMName] -ExposeVirtualizationExtensions $true 

WSL2 on a KVM-based VM with nested virtualization, does not appear to work.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].