Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ruandre
Last active March 30, 2024 09:54
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ruandre/146e524b63776e403c721c2403ee0dcd to your computer and use it in GitHub Desktop.
Save ruandre/146e524b63776e403c721c2403ee0dcd to your computer and use it in GitHub Desktop.
After installing Windows 10/11

🪟 After installing Windows 10/11

Install

You can use https://uupdump.net/ to build up an ISO file (even from Linux or Mac, the options enable you to keep the file size down) and just drop into https://github.com/ventoy/Ventoy and you're good to go.

If you're already running Windows you can do ⊞ Win, Reset this PC for a more convenient ISO download option.

For keys try https://www.microsoft.com/windows/get-windows-11 or local retail store, otherwise check PC Hardware channels on YouTube as they often have links to discounted keys (obviously check if valid/legit, due diligence, etc.)

Personal preference:

  • Disconnect before install (remove ethernet cable)
  • Uncheck all under "Choose privacy settings for your device." 🙄

Debloat

You can run these after a clean install:

❗ DISCLAIMER: USE THESE AT YOUR OWN RISK ❗

Node.js and Chocolatey

You can download and install Node.js from https://nodejs.org/

It includes Chocolatey https://chocolatey.org/ and Build Tools in final step.

This is a convenient way to get Chocolatey if you need Node.js anyway.

WSL (2)

To install and enable WSL: https://docs.microsoft.com/en-us/windows/wsl/install

These days this should be enough to get you going (installs Ubuntu by default):

wsl --install

To install a distro from terminal: https://docs.microsoft.com/en-us/windows/wsl/install-manual#downloading-distributions

To disable Windows PATH in WSL (helps if you're installing Node.js in WSL as well):

# sudo vim /etc/wsl.conf
[interop]
appendWindowsPath = false

You can check https://gist.github.com/ruandre/2d5618ce5be5123462300c7f418536e2 for Arch-like access to software on Debian/Ubuntu

You can check https://gist.github.com/ruandre/3f150a6acb042a66f2adc5bef44c789d for an example .bashrc for Debian/Ubuntu

Alternatively there's also:

To run GUI apps: https://github.com/microsoft/wslg 🤷

Alternatives to WSL

Note these can also be used alongside WSL ^

Windows Terminal

You can install by grabbing the latest release from:

https://github.com/microsoft/terminal/releases

And running: Add-AppxPackage FILE_NAME.msixbundle

Or you can install from Windows Store, or via Chocolatey, winget, etc.

For context menus*: https://github.com/lextm/windowsterminal-shell

*This requires PowerShell 7 which you can grab here:

https://aka.ms/powershell-release?tag=stable

See https://gist.github.com/ruandre/2310e500ac7afb1ea0bff041407cb233 for example Profile.ps1

Docker

The latest versions of Docker Desktop support WSL2: https://www.docker.com/products/docker-desktop

If it eats too much disk space, check this for a solution: microsoft/WSL#4699 (comment)

Package manager

Chocolatey

You can grab it here: https://chocolatey.org/install

You can search for packages here: https://chocolatey.org/packages

Example commands:

choco install mpv

Winget

Info: https://docs.microsoft.com/en-us/windows/package-manager/winget/

Example commands:

winget search powertoys
winget install powertoys --source winget

Scoop

Info: https://scoop.sh/ (https://github.com/ScoopInstaller/Scoop)

Example commands:

scoop bucket add main
scoop install main/neovim

Apps

Useful software on Windows (personal preference, YMMV):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment