Skip to content

Risu's dotfiles for Windows 11 and WSL 2

License

Notifications You must be signed in to change notification settings

risu729/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐿 Risu's dotfiles

⭐ Description

This dotfiles are used to configure my environment, mainly Windows 11 and WSL2 (Ubuntu).

Since I use WSL2 as my main development environment, I only install some GUI applications on Windows, like browsers, IDEs, etc.

⚙️ Installation

🪟 Windows 11

Important

Set up Windows 11 without a Microsoft account to avoid automatic installation of bloatware, mainly OneDrive.

  1. Press Shift + F10 on the startup screen. (Never connect to the internet)

  2. Run the following command in Command Prompt.

    oobe\bypassnro
  3. Continue the setup without a Microsoft account by selecting I don't have internet.

In PowerShell, Windows Powershell, or Command Prompt, run the following command.

powershell -c "irm dot.risunosu.com/win|iex"

Follow the instructions on the screen. When wsl --install completes, press ctrl + d to exit the WSL shell and continue the installation.

🐧 WSL2

Windows installation script will install dotfiles to WSL2, so you don't need to run the installation script again.

However, if you want to install dotfiles to WSL2 only, like when you reset WSL2, you can run the following command in bash.

bash <(curl -fsSL https://dot.risunosu.com/wsl)

Important

Use process substitution (<()) instead of piping (|) for interactive scripts.

➡️ What to do next

  1. Restore PowerToys settings. See docs.

  2. Install the following software in Windows which is not installed by the script.

  • Minecraft Launcher
    It cannot be installed via winget.

  • PWA apps (X, Instagram)
    They cannot be installed from the script.

🛠️ Development

⚙️ Setup

Prerequisites: mise

Clone this repository and run the following command.

mise i

🧵 Lint and Format

The following command will lint and format the code. (including auto-fix)

mise check

✏️ Commit

The following command will commit the changes interactively.

mise commit

📜 License

MIT

About

Risu's dotfiles for Windows 11 and WSL 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •