How I Setup Windows [Quickly] with Chocolatey

How I Setup Windows [Quickly] with Chocolatey

December 27, 2023

For some time already, I have been improving my guide on Linux.

I like how simple it is to format and setup Linux again, but I found that we can do exactly the samer thing in windows.

The trick is called Chocolatey

And here is how you can use it too:

Open powershell as admin

Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco --version
choco install podman-desktop

Run podman compose up (podman CLI v4.7.0+) or docker-compose in a directory with a compose.yaml. Podman Desktop will automatically detect the Compose deployment and show it in the container list.'

podman compose up

You will need windows subsystem for linux (WSL)

wsl --install
wsl --version
podman machine init

I have this gist with my favourite commands - https://gist.github.com/JAlcocerT/76f22ddf886277ef2653f82898c634d8