Skip to content

Commit

Permalink
Refresh path variable after Python and Pipx install
Browse files Browse the repository at this point in the history
resolves #33
  • Loading branch information
jan-revay committed Mar 9, 2024
1 parent 4d7fa54 commit 1477d9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Windows_10/packages_install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,13 @@ winget upgrade --all --accept-source-agreements --accept-package-agreements `
# Pip packages
# TODO some packages below need to be fixed (or just installed globally?)
# TODO install python applications with pipx
# refresh Path variable
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
py -3 -m pip install --user pipx
py -3 -m pipx ensurepath

# refresh Path variable
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
pipx install flawfinder # C++ linter
pipx install cpplint

Expand Down

0 comments on commit 1477d9f

Please sign in to comment.