This is a simple dotfiles and scripts to setup Windows Subsystem for Linux (WSL) with Ubuntu.
Check linked files to more details.
- apps.sh - installs applications.
- dotfiles.sh - install and configure dotfiles.
- npm.sh - install npm packages.
- setup.sh - main installer.
- utils.sh - support functions for other installers.
- gitconfig - basic global git settings.
- gitignore_global - global gitignore.
- vimrc - vim configuration and plugins
- tmux.conf - tmux configuration
- Windows 10
- WSL (Windows Subsystem for Linux) with Ubuntu
See SamuelRamox's Windows 10 Setup Script to configure Windows 10
, install some apps and WSL
. To use the script, just download and open it with PowerShell
. If you use it, skip to step Install dotfiles.
If you do not already have WSL
, open Powershell
as an Administrator and run these commands:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
Make WSL 2 your default architecture you can do so with this command:
wsl --set-default-version 2
After restarting, install Ubuntu from the Microsoft Store
Launch Ubuntu.exe
from the Start menu.
If you already have Windows 10
and WSL
installed, run these commands in WSL
:
git clone https://github.com/stvhwrd/wsl-setup.git
chmod 700 wsl-setup/ -R
cd wsl-setup
./install/setup.sh
Install the Remote - WSL extension in VSCode to get a better experience with WSL
.