https://github.com/risu729/dotfiles
Risu's dotfiles for Windows 11 and WSL 2
https://github.com/risu729/dotfiles
Last synced: 3 months ago
JSON representation
Risu's dotfiles for Windows 11 and WSL 2
- Host: GitHub
- URL: https://github.com/risu729/dotfiles
- Owner: risu729
- License: mit
- Created: 2024-06-03T15:12:56.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-09T15:16:05.000Z (3 months ago)
- Last Synced: 2025-02-09T15:24:27.237Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 2.37 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ฟ 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.
>
> ```cmd
> 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.
Do not run it in Windows Terminal as it will be uninstalled during the installation.```powershell
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
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](https://learn.microsoft.com/en-us/windows/powertoys/general#backup--restore).
2. Install the following software in Windows which is not installed by the script.
- [Lenovo Vantage](https://www.lenovo.com/us/en/software/vantage)
It cannot be installed via `winget`.- [Minecraft Launcher](https://aka.ms/minecraftClientGameCoreWindows)
It cannot be installed via `winget`.- [LINE](https://desktop.line-scdn.net/win/new/LineInst.exe)
It cannot be installed via `winget`.- [X](https://x.com)
PWA apps cannot be installed using the script.## ๐ ๏ธ Development
### โ๏ธ Setup
**Prerequisites**: [mise](https://mise.jdx.dev/)
Clone this repository and run the following command.
```bash
mise i
```### ๐งต Lint and Format
The following command will lint and format the code. (including auto-fix)
```bash
mise check
```### โ๏ธ Commit
The following command will commit the changes interactively.
```bash
mise commit
```## ๐ License
MIT