what i do when i reinstall windows

a little checklist just for me

this is one of those blog posts where it’s mostly a note-to-self.

unfortunately, i find windows to be the least-worst option for my workstation. as running windows usually goes, i am often forced to reinstall it from scratch. here is what i do to reduce the pain:

essentials

ninite

i get a bunch of stuff from Ninite - it’s a single installer that can install lots of software with little interaction:

ssh key

windows comes with OpenSSH out-of-the-box now, which is really awesome. i grab my workstation’s ssh key from a backup (so that i don’t need to generate a new key whenever i reinstall windows every, like, 3 months)

tailscale

tailscale pretty much powers my personal infrastructure. i can access all of my machines via their hostnames using MagicDNS. it’s great.

development tools

dev drive

usually this is auto-detected on install, but I have a ReFS “Dev Drive” partition that persists across Windows installations where I keep source code and package caches (as well as some tools for my PATH like ffmpeg, cmake)

git for windows

rust

node.js

i use volta. it’s a toolchain manager for Node.js. it’s great. “rustup for JavaScript”

  1. run the installer
  2. volta install node@lts
  3. you’re done

deno

i just install deno from deno.land

$ irm "https://deno.land/install.ps1" | iex
$ # you're done

python

i use rye. it’s great. “rustup for python”.

$ # turn on global shims!!
$ rye config --set-bool behavior.global-python=true
$ # defaults to latest:
$ python --version
Python 3.12.0
$ # look, any version you want!
$ python +3.8 --version
Python 3.8.18
$ # install tools from pip:
$ rye install yt-dlp
$ # get them globally:
$ yt-dlp --version
2023.12.30

unfortunately updating a tool requires rye uninstall $x; rye install $x

sometimes I want pytorch with CUDA in a project managed by rye, in this case i just need to add a snippet to pyproject.toml:

[[tool.rye.sources]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cu118"

audio tools

there’s no way around how much reinstalling audio tools sucks.

i install:

for plugins, i get these for free:

i use my licensed versions of: