Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jthodge committed Aug 11, 2024
1 parent 6104292 commit 19d0eda
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions python/dev-env-mgmt.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ Allows us to upgrade default Python version without breaking projects that rely
`pyenv-virtualenv`
Used to create and manage virtual environments — most commonly for isolating project-level dependencies.

## Installation
## Package Installation

```bash
brew update && brew install pyenv pyenv-virtualenv
```

## Shell Configuration

```bash
# pyenv
## Assign variable to pyenv location
Expand All @@ -29,7 +31,8 @@ fi

## Version Management

### Installation
### Version Installation

```bash
# Install latest Python 3.11 version
pyenv install 3.11:latest
Expand All @@ -47,17 +50,19 @@ pyenv latest 3.12
pyenv global 3.11.$PATCH 3.12.$PATCH
```

### Upgrading
### Upgrading Versions

```bash
# Upgrade to latest version of Python 3.11 and 3.12
pyenv install --skip-existing 3.11:latest 3.12:latest
```

### Navigation

```bash
# List all versions available for installation
pyenv install --list

# List all versions installed
pyenv versions
```
```

0 comments on commit 19d0eda

Please sign in to comment.