Change the PowerShell Version in PowerShell's Package Manager #2419
thiagojramos
started this conversation in
General
Replies: 1 comment 1 reply
-
There is an issue for this here: #1994 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to set a different PowerShell version in the "PowerShell's Package Manager"?
Currently, all the PowerShell executables I use (present in the PATH) are from
PowerShell 7.5.0-preview.3
. However, the "PowerShell's Package Manager" is using Windows PowerShell 5.1, which is not even defined in my PATH or as a system variable.Screenshot: default PowerShell
In the "PowerShell's Package Manager," the path to the Windows PowerShell executable appears, but there is no option to edit it, only to copy the path.
When adding a new source in "Manage PowerShell sources" (I tried to add PSGallery), the operation failed. For me, the "PowerShell's Package Manager" would only be useful if it could be used with PowerShell 7.
Screenshot: Failed to add PS Gallery
Here is the error log that appears when trying to add PSGallery as a source:
Error Log
UniGetUI Version: 3.1.0 stable (the latest release)
Any suggestions or solutions?
Note: I was going to create a "New issue," but I wasn't sure which category my case would fit into. So, I'll post it here.
Beta Was this translation helpful? Give feedback.
All reactions