Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/un-def/pipx-bootstrap.ps1
A PowerShell script for installing pipx with pipx
https://github.com/un-def/pipx-bootstrap.ps1
environment-manager pipx python venv
Last synced: 23 days ago
JSON representation
A PowerShell script for installing pipx with pipx
- Host: GitHub
- URL: https://github.com/un-def/pipx-bootstrap.ps1
- Owner: un-def
- Created: 2020-11-19T14:09:26.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-24T18:54:15.000Z (about 1 year ago)
- Last Synced: 2023-10-24T19:32:53.684Z (about 1 year ago)
- Topics: environment-manager, pipx, python, venv
- Language: PowerShell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pipx-bootstrap.ps1
A PowerShell script for installing pipx with pipx
## Other Versions
* [Python](https://github.com/un-def/pipx-bootstrap.py)
* [POSIX Shell](https://github.com/un-def/pipx-bootstrap.sh)## Usage
Download `pipx-bootstrap.ps1` and run it:
```powershell
(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/un-def/pipx-bootstrap.ps1/master/pipx-bootstrap.ps1', 'pipx-bootstrap.ps1')
.\pipx-bootstrap.ps1
```or (in one step):
```powershell
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/un-def/pipx-bootstrap.ps1/master/pipx-bootstrap.ps1')
```Script arguments are passed to `pipx install pipx` command, e.g.,
```powershell
.\pipx-bootstrap.ps1 --verbose --force
```is equivalent to
```powershell
pipx install pipx --verbose --force
```The script uses `python3` binary by default. It can be overridden with the environment variable `PYTHON_BIN`:
```powershell
$Env:PYTHON_BIN = 'X:\path\to\python'
.\pipx-bootstrap.ps1
```