-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portable packages installed in user scope are removed from PATH after upgrading them #4044
Comments
Able to replicate. This pesky bug makes using certain CLI apps via WinGet quite impossible. Here's my
The above says Windows 10 or something but I'm on Windows 11 so here's the OS version information:
|
I also have this issue. Had to remove and reinstall the package to get it added to PATH again (didn't want to mess with PATH manually). |
@josh-hemphill Is this only happen on upgrade? I'm having things not showing up on $PATH even on new install. |
For me, yes, fresh installs do show up in path, if it's not, maybe it's package specific. For me I only noticed it with |
I'm also having this issue while trying to update pnpm. Is someone able to confirm whether this is a winget issue or a package issue? |
I have this issue as well. Anyone from the team? |
Hello, commenting again because I just encountered this issue, again. |
Brief description of your issue
Portable packages installed in user scope are removed from PATH after upgrading them.
Steps to reproduce
winget install yt-dlp.yt-dlp -v 2023.11.16
→ yt-dlp added to PATHwinget install gyan.ffmpeg -v 6.1
→ ffmpeg added to PATHwinget upgrade yt-dlp.yt-dlp
→ yt-dlp removed from PATHwinget upgrade gyan.ffmpeg
→ ffmpeg removed from PATHExpected behavior
Portable packages should not be removed from PATH after upgrading them.
Actual behavior
Portable packages are removed from PATH after upgrading them.
Environment
The text was updated successfully, but these errors were encountered: