Skip to content

Commit b2b5e0d

Browse files
CodeBySayakmgwojzliang-akamai
authored
Update README install instructions to use pipx (#877)
Co-authored-by: Michal Wojcik <32574975+mgwoj@users.noreply.github.com> Co-authored-by: Zhiwei Liang <121905282+zliang-akamai@users.noreply.github.com>
1 parent 7b72650 commit b2b5e0d

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,21 @@ Visit the [Wiki](../../wiki) for more information.
1212

1313
## Install
1414

15-
Install via PyPI:
15+
We recommend installing `linode-cli` with `pipx`, which installs each Python CLI tool into its own isolated environment and works on distributions where `pip install` fails because the system Python is marked as externally managed ([PEP 668](https://peps.python.org/pep-0668/)). If pipx isn't installed yet, follow the [pipx installation guide](https://pipx.pypa.io/latest/how-to/install-pipx.html).
16+
17+
To install:
18+
19+
```bash
20+
pipx install linode-cli
21+
```
22+
23+
To upgrade:
24+
1625
```bash
17-
pip3 install linode-cli
26+
pipx upgrade linode-cli
1827
```
1928

20-
Visit the [Wiki](../../wiki/Installation) for more information.
29+
The [Wiki](https://github.com/linode/linode-cli/wiki/Installation) covers other installation methods, including the Docker image, the GitHub Action, and building from source.
2130

2231
## Contributing
2332

0 commit comments

Comments
 (0)