Skip to content

Commit

Permalink
Make --global, --prepend instructions more concise
Browse files Browse the repository at this point in the history
Co-Authored-By: Robert <49005401 [email protected]>
  • Loading branch information
agriyakhetarpal and Gitznik committed Jun 18, 2024
1 parent 4a15cbf commit 6fa587a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 23,19 @@ pipx ensurepath

#### Additional (optional) commands

To allow pipx actions in global scope. See "Customising your installation" section below.
To allow pipx actions in global scope.
```
sudo pipx ensurepath --global
```

To prepend the pipx bin directory to PATH instead of appending it. See "Customising your installation" section below.
To prepend the pipx bin directory to PATH instead of appending it.

```
sudo pipx ensurepath --prepend
```

For more details, refer to [Customising your installation](#customising-your-installation).

### On Linux:

- Ubuntu 23.04 or above
Expand All @@ -60,18 62,20 @@ python3 -m pipx ensurepath

#### Additional (optional) commands

To allow pipx actions in global scope. See "Customising your installation" section below.
To allow pipx actions in global scope.

```
sudo pipx ensurepath --global
```

To prepend the pipx bin directory to PATH instead of appending it. See "Customising your installation" section below.
To prepend the pipx bin directory to PATH instead of appending it.

```
sudo pipx ensurepath --prepend
```

For more details, refer to [Customising your installation](#customising-your-installation).

### On Windows:

- Install via [Scoop](https://scoop.sh/):
Expand Down

0 comments on commit 6fa587a

Please sign in to comment.