Skip to content

Instantly share code, notes, and snippets.

@felipepodesta
Forked from ruandre/win10-11.md
Created November 16, 2021 03:27
Show Gist options
  • Save felipepodesta/c530bd1e483ebc3f35ddd018bdf6ac4b to your computer and use it in GitHub Desktop.
Save felipepodesta/c530bd1e483ebc3f35ddd018bdf6ac4b 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 "Reset this PC" for a more convenient ISO download option.

Personal preference:

  • Disconnect from the internet before install.
  • Uncheck all options 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 WSL2: https://docs.microsoft.com/en-us/windows/wsl/install-win10

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

To disable Windows PATH in WSL (helps if you're installing Node.js in WSL2 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

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

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)

'Alternative' to Docker: https://www.vagrantup.com/downloads + https://www.virtualbox.org/wiki/Downloads

Chocolatey:

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

Basic commands are:

# to install mpv (for example):
choco install -y mpv

# to update all packages:
cup all

You can also use winget (windows package manager) to grab apps, for example:

winget search powertoys
winget install powertoys --source winget

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

You can also try https://scoop.sh/ as an alternative.

Apps:

Useful software on Windows (personal preference, ymmv):

Dev stuff:

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