Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/julianwachholz/wsl-config
My personal WSL2 setup
https://github.com/julianwachholz/wsl-config
dotfiles wsl wsl-ubuntu wsl2
Last synced: 23 days ago
JSON representation
My personal WSL2 setup
- Host: GitHub
- URL: https://github.com/julianwachholz/wsl-config
- Owner: julianwachholz
- Created: 2020-02-04T09:16:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-12T13:26:38.000Z (over 3 years ago)
- Last Synced: 2024-12-30T06:08:45.613Z (24 days ago)
- Topics: dotfiles, wsl, wsl-ubuntu, wsl2
- Language: Shell
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WSL2 Development Setup and Configuration
This guide will setup a development environment with:
- Windows 10
- Docker
- Windows Subsystem for Linux 2 (WSL2)
- Git
- Python
- Node
- Visual Studio Code## Windows Setup
1. Signup for Windows Insider Program and follow all updates
2. PowerShell (as Administrator):```pwsh
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestartwsl --set-default-version 2
wsl --set-version Ubuntu 2
```3. Install Ubuntu from Windows Store
4. Docker Desktop for Windows Edge:
- Download from https://docs.docker.com/docker-for-windows/edge-release-notes/
- Enable WSL 2 Backend
- Enable integration for Ubuntu
5. Download & install Fira Code
https://github.com/tonsky/FiraCode/
6. Download & install Visual Studio Code## Ubuntu Setup
1. Start Ubuntu from the Start menu, this will take a while when starting for the first time.
2. Once a login was created:
```
git clone [email protected]:julianwachholz/wsl-config.git
cd wsl-config && make install
```
3. Optional:```
# create new SSH identity
ssh-keygen -t ed25519# import PGP identity
gpg --allow-secret-key-import --import /tmp/privkey# add it to Git
gpg --list-secret-keys --keyid-format LONG
gpg --edit-key 7595F9144CE9BA4B trust
```