Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Better windows python setup with pyenv #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions setup/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,22 @@ The package manager reduces the time to get software installed, saving hours of
4. Install core tools:

```cmd
choco install -y choco-protocol-support chocolateygui sudo terraform vscode github-desktop
choco install -y python3
choco install -y choco-protocol-support chocolateygui sudo terraform vscode github-desktop pyenv-win
choco install -y docker-desktop
```

5. Install Python:

- In the previous step, you install pyenv, the Python Version manager. Now install one or more python versions and make one of them the default.

```cmd
pyenv install 3.8 # you'll be prompted to pick a specific patch version
pyenv install 3.8.7 # picking the latest 3.8.x
pyenv install 3.9 # you'll be prompted to pick a specific patch version
pyenv install 3.9.1 # picking the latest 3.9.x
pyenv global 3.8.7 # default to 3.8.x
```

- **NOTE:** See the [Troubleshooting](#troubleshooting) tips below if you run into any difficulties during this process.

## Installing additional tools
Expand Down