Skip to content

lucasmodrich/wsl-setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WSL Debian/Ubuntu Dotfiles

This is a simple dotfiles and scripts to setup Windows Subsystem for Linux (WSL) with Debian and Ubuntu based Linux distributions.

Features

Check linked files to more details.

Installation files

  • apps.sh - installs applications.
  • dotfiles.sh - installs Oh My Zsh, .zshrc and Git configs.
  • npm.sh - Node.js and npm settings.
  • setup.sh - main installer.
  • ssh.sh - generate SSH.
  • user.sh - user data to configuration of Git and SSH.
  • utils.sh - support functions for other installers.
  • .zshrc - terminal configs with aliases, paths, plugins and theme (this file is permanent after installation).

Prerequisites

  • Updated Windows 10 or later (recommended is Windows 11)
  • WSL 2 with Debian/Ubuntu based

Installation

Note: I use the Windows 11 Setup Script script to configure Windows, 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.

Install WSL

If you do not already have WSL, follow these steps to install. Open Powershell by searching for it in Search and right-clicking for a context menu and clicking “Run as Administrator”. Enter the following command:

wsl --install

After restarting, launch Ubuntu.exe from the Start Menu. You’ll be asked to enter a username and password (for sudo stuff).

Install dotfiles

If you already have Windows and WSL installed, run these commands in WSL:

git clone https://github.com/lucasmodrich/wsl-setup.git
chmod 700 wsl-setup/ -R
cd wsl-setup
./setup.sh

Remote - WSL

Install the Remote - WSL extension in VSCode to get a better experience with WSL.

Reference

Utilities

About

WSL Ubuntu Dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%