Skip to content

Windows machine setup#

From Windows App Store#

  • Mozilla Firefox
  • Bitwarden

Using WinGet#

  • winget install -e qBittorrent.qBittorrent.lt2
  • winget install -e LocalSend.LocalSend
  • winget install -e GOG.Galaxy
  • winget install -e Notepad++.Notepad++

WSL#

Search for: Turn Windows features on or off Add Virtual Machine Platform and Windows Hypervisor Platform

Open command line and type

wsl --install -d Debian
sudo apt update
sudo apt upgrade
echo -e "\n[interop]\nappendWindowsPath = false" | sudo tee -a /etc/wsl.conf > /dev/null

Git and SSH GIT#

ssh-keygen -t ed25519 -C "your-github-email" -f "$env:USERPROFILE\.ssh\id_ed25519_github"
ssh-keygen -t ed25519 -C "your-bitbucket-email" -f "$env:USERPROFILE\.ssh\id_ed25519_bitbucket"

Windows SSH agent and add keys#

Enable the service:

Set-Service ssh-agent -StartupType Automatic
Start-Service ssh-agent

Add both keys:

ssh-add "$env:USERPROFILE\.ssh\id_ed25519_github"
ssh-add "$env:USERPROFILE\.ssh\id_ed25519_bitbucket"

Check they are loaded: ssh-add -l

Insert keys#

GitHub → Settings → SSH and GPG keys → New SSH key Get-Content "$env:USERPROFILE\.ssh\id_ed25519_github.pub"

Bitbucket → Personal settings → SSH keys → Add key Get-Content "$env:USERPROFILE\.ssh\id_ed25519_bitbucket.pub"

And change the config file for .ssh/config:

# GitHub
Host github.com
    HostName github.com
    User git
    IdentityFile ~/.ssh/id_ed25519_github
    IdentitiesOnly yes

# Bitbucket
Host bitbucket.org
    HostName bitbucket.org
    User git
    IdentityFile ~/.ssh/id_ed25519_bitbucket
    IdentitiesOnly yes

Test#

ssh -T git@github.com

ssh -T git@bitbucket.org

Python#

pyenv-win#

https://pyenv-win.github.io/pyenv-win/ Use the pyenv-win Powershell command

pyenv install 3.14
pyenv install 3.11
pyenv global 3.14

Poetry#

Install Poetry: (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -

Follow the instructions: A. Append the bin directory to your user environment variable PATH