Skip to content

un-def/pipx-bootstrap.ps1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

pipx-bootstrap.ps1

A PowerShell script for installing pipx with pipx

Other Versions

Usage

Download pipx-bootstrap.ps1 and run it:

(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):

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.,

.\pipx-bootstrap.ps1 --verbose --force

is equivalent to

pipx install pipx --verbose --force

The script uses python3 binary by default. It can be overridden with the environment variable PYTHON_BIN:

$Env:PYTHON_BIN = 'X:\path\to\python'
.\pipx-bootstrap.ps1

About

A PowerShell script for installing pipx with pipx

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published