Skip to content

Instantly share code, notes, and snippets.

@kfchou
Last active October 23, 2023 19:36
Show Gist options
  • Select an option

  • Save kfchou/c95957ad929ff67b194926c985071395 to your computer and use it in GitHub Desktop.

Select an option

Save kfchou/c95957ad929ff67b194926c985071395 to your computer and use it in GitHub Desktop.
Minimal powershell script for installing apps needed for python development
# Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
refreshenv
# Install dev software
choco install -y git --package-parameters="'/GitAndUnixToolsOnPath /WindowsTerminal'"
choco install -y python --version=3.11
choco install -y vscode
choco install -y vscode-python
# Refresh path
refreshenv
# Update pip
python -m pip install --upgrade pip
# Poetry
pip install poetry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment