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.
Important
Set up Windows 11 without a Microsoft account to avoid automatic installation of bloatware, mainly OneDrive.
-
Press
Shift + F10
on the startup screen. (Never connect to the internet) -
Run the following command in Command Prompt.
oobe\bypassnro
-
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.
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.
-
Restore PowerToys settings. See docs.
-
Install the following software in Windows which is not installed by the script.
-
Minecraft Launcher
It cannot be installed viawinget
. -
PWA apps (X, Instagram)
They cannot be installed from the script.
Prerequisites: mise
Clone this repository and run the following command.
mise i && mise r buni
The following command will lint and format the code. (including auto-fix)
mise r check
The following command will commit the changes interactively.
mise r commit
MIT