Skip to content

Instantly share code, notes, and snippets.

@JamesDawson
JamesDawson / setup-pyenv-poetry-windows.ps1
Last active May 10, 2024 14:00
Setup python, pyenv-win and poetry on Windows
[CmdletBinding()]
param (
[Parameter(Mandatory=$true)]
[string] $PythonVersion
)
$ErrorActionPreference = "Stop"
$ProgressPreference = "SilentlyContinue"
Set-StrictMode -Version Latest