https://github.com/traap/bootstrap-win-env
Bootstrap a minimal LaTeX, Ruby, and NeoVim on Windows 11.
https://github.com/traap/bootstrap-win-env
Last synced: 3 months ago
JSON representation
Bootstrap a minimal LaTeX, Ruby, and NeoVim on Windows 11.
- Host: GitHub
- URL: https://github.com/traap/bootstrap-win-env
- Owner: Traap
- License: bsd-3-clause
- Created: 2025-08-23T04:08:16.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-11-21T05:08:59.000Z (7 months ago)
- Last Synced: 2025-11-21T07:07:45.055Z (7 months ago)
- Language: Batchfile
- Size: 37.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ Windows 11 Dev Environment Installer
This repository provides a reproducible Windows 11 development environment using
a single `install.cmd` script. It installs all tools using `winget` and runs
under **Command Prompt with administrative privileges**.
---
## โ ๏ธ TL;DR
Quick steps:
1. Start a Git Bash shell and clone this repository
```cmd
git clone http://github.com/Traap/bootstrap-win-env
cd your-repo
```
2. Change USERROOT in ```user-environment-variabvles.cfg```
3. Start a command shell and run these commands
```command
set-user-environment-variables.cmd
set-user-path.cmd replace_userj
install.cmd
```
4. Logout; your system is ready. FYI: Check for a valid .bashrc
5. Start a Git Bash Shell to clone respositories and build documentation
```
gits clone -v
cd $AUTODOCPATH
docbld list_files
docbld
`
---
## ๐ง Requirements
- โ
Windows 11 (with `winget` v1.4+ or newer)
- โ
Run from **Command Prompt as Administrator**
- โ Does *not* use PowerShell
- โ
Git and system PATH correctly configured
- โ
UTF-8/CRLF line endings enforced via `.gitattributes`
---
## ๐ฆ Tools Installed
The script installs:
- Git
- Ruby (with DevKit)
- MiKTeX LaTeX
- Neovim
- SumatraPDF
- Visual Studio Code
- Python 3
- Traap/gits CLI
---
## โถ๏ธ How to Use
1. Open **Command Prompt as Administrator**
2. Clone this repo:
```cmd
git clone https://github.com/your-user/your-repo.git
cd your-repo
```
3. Run the installer:
```cmd
install.cmd
```
---
## โ๏ธ Post-Install Notes
- Ruby includes `rake` via `gem install`
- Python is installed with virtual environment support
- `gits` CLI is cloned into `%USERPROFILE%\gits` and installed into a virtualenv
- Visual Studio Code installs several extensions (e.g., Ruby, LaTeX, Neovim)
---
## ๐ช Uninstall
To uninstall everything, use the included `uninstall.cmd`:
```cmd
uninstall.cmd
```
- Supports `/dry-run` and logs to `uninstall.log`
- Prompts for confirmation before proceeding
---
## ๐งช Troubleshooting
- Ensure script line endings are **CRLF**
- Run:
```cmd
where winget
```
If not found in admin shell, add this to system PATH:
```
%LocalAppData%\Microsoft\WindowsApps
```
---
## ๐ License
BSD 3-Clause License