Overview
This guide covers the complete installation process for Gentleman.Dots on Windows using the Windows Subsystem for Linux (WSL). This is the only supported method for running Gentleman.Dots on Windows.Why WSL?
WSL (Windows Subsystem for Linux) allows you to run a Linux environment directly on Windows without the overhead of a traditional virtual machine. This provides:- Native Linux performance for development tools
- Full compatibility with Linux-based dotfiles and configurations
- Seamless integration between Windows and Linux filesystems
- Access to both Windows and Linux tools simultaneously
Prerequisites
- Windows 10 version 2004 or higher (Build 19041 and higher) or Windows 11
- Administrator privileges on Windows
- Virtualization enabled in BIOS/UEFI
- At least 4GB of free disk space
- Internet connection for downloading packages
Installation Steps
Install WSL
Open PowerShell or Windows Command Prompt as Administrator and run:This command will:
- Enable the required WSL features
- Install the WSL 2 kernel
- Set WSL 2 as the default version
- Install Ubuntu by default
After installation, you may need to restart your computer.
Launch and Configure the Distribution
- Launch the installed distribution from the Start menu
- Create a username and password when prompted
- Update the system packages:
Install Iosevka Term Nerd Font (Windows)
The Nerd Font must be installed on Windows, not in WSL:
-
Download the Iosevka Term Nerd Font:
- Visit Nerd Fonts Releases
- Download
IosevkaTerm.zip(v3.3.0 or later)
- Extract the ZIP file to a folder
-
Install the fonts:
- Select all
.ttfor.otffiles - Right-click and select “Install for all users”
- Select all
Install a Terminal Emulator (Windows)
Choose and install a terminal emulator on Windows (not in WSL):
- Alacritty
- WezTerm (Recommended)
- Windows Terminal
- Download from GitHub Releases
- Extract and place
alacritty.exein a folder added to your PATH - Or use a package manager like Scoop:
Configure Terminal Emulator for WSL
Configure your terminal emulator to launch WSL by default:
- Alacritty
- WezTerm
- Windows Terminal
-
Copy the Alacritty configuration to Windows:
-
Edit
alacritty.tomland uncomment these lines:
Install Chocolatey and win32yank
Install Chocolatey (Windows package manager) and win32yank for clipboard integration:Open PowerShell as Administrator and run:Then install win32yank:
win32yank is essential for clipboard integration in Neovim when using WSL. Without it, you won’t be able to copy/paste between Windows and Neovim.Install Gentleman.Dots in WSL
Now, inside your WSL Ubuntu terminal, follow the Linux installation process:The script will:
- Install all required dependencies in WSL
- Configure your chosen shell
- Set up your window manager (Tmux/Zellij)
- Install and configure Neovim with AI integrations
WSL-Specific Considerations
File System Performance
Accessing Windows Files from WSL
Windows drives are mounted under/mnt/:
C:\→/mnt/c/D:\→/mnt/d/
Accessing WSL Files from Windows
You can access WSL files from Windows Explorer:Running Windows Applications from WSL
You can launch Windows applications from WSL:Memory Management
WSL 2 can consume a lot of memory. To limit it, create.wslconfig in your Windows home directory:
Troubleshooting
WSL installation fails
WSL installation fails
If WSL installation fails:
- Ensure virtualization is enabled in BIOS/UEFI
- Enable Windows features manually:
- Restart your computer
- Download and install the WSL2 Linux kernel update
Terminal emulator can't connect to WSL
Terminal emulator can't connect to WSL
If your terminal can’t connect to WSL:
-
Verify WSL is running:
-
Start WSL manually:
- Check terminal emulator WSL configuration (see Step 6)
Clipboard (win32yank) not working
Clipboard (win32yank) not working
If clipboard integration doesn’t work:
-
Verify win32yank is installed:
-
Ensure it’s in Windows PATH:
-
Test from WSL:
Fonts not displaying correctly
Fonts not displaying correctly
If Nerd Font icons don’t display:
- Verify font is installed on Windows (not WSL)
- Check font name in terminal emulator config matches exactly
- Restart terminal emulator completely
- In Windows Terminal, set font to “IosevkaTerm Nerd Font” in Settings
Performance is slow
Performance is slow
If WSL performance is slow:
- Ensure you’re working in WSL filesystem (
~/...), not Windows (/mnt/c/...) - Move projects to WSL:
- Consider limiting WSL memory usage (see Memory Management above)
- Check if antivirus is scanning WSL files (add exclusion if needed)
WSL won't start after Windows update
WSL won't start after Windows update
If WSL stops working after a Windows update:
-
Update WSL:
-
Restart WSL:
-
If still broken, reinstall the distribution (this will delete data):
WSL Commands Reference
Next Steps
Customize Your Setup
Learn how to customize terminal colors, key bindings, and more
Neovim Configuration
Explore Neovim features and AI integrations
WSL Best Practices
Learn more about WSL from Microsoft’s official documentation
Join the Community
Get help and share your setup with the community