You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to install mkcert from winget using the Windows Terminal in non-Admin mode. It seems that even though the package was created successfully, the line indicating that a command line alias was created didn't work. I double checked my PATH environment variable and that correctly was created and pointed to the path of where the package was installed, but when I tried to run the package using the alias 'mkcert' I got an error indicating it couldn't be found.
Eventually I tried running Windows Terminal in Administrator mode and reinstalled the package and it worked.
Steps to reproduce
In Windows Terminal (non Admin): winget install mkcert
Install successful and command line alias added.
Restart Terminal to load new environment variables.
mkcert
(error not found)
Expected behavior
using the mkcert alias from the command line works successfully.
Actual behavior
the newly installed package is not found when using the alias, but when using the package name mkcert-xxx-windows-amd64.exe it is found.
Environment
Windows Package Manager v1.5.1572
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22621.1848
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.1572.0
The text was updated successfully, but these errors were encountered:
This is because the exe full name is mkcert-v1.4.4-windows-amd64.exe and looks like WinGet doesn't rename portables in non-symlinked installations. Not sure if this bug is being tracked separately here in the CLI.
We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!
We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!
Brief description of your issue
I tried to install mkcert from winget using the Windows Terminal in non-Admin mode. It seems that even though the package was created successfully, the line indicating that a command line alias was created didn't work. I double checked my PATH environment variable and that correctly was created and pointed to the path of where the package was installed, but when I tried to run the package using the alias 'mkcert' I got an error indicating it couldn't be found.
Eventually I tried running Windows Terminal in Administrator mode and reinstalled the package and it worked.
Steps to reproduce
In Windows Terminal (non Admin):
winget install mkcert
Install successful and command line alias added.
Restart Terminal to load new environment variables.
mkcert
(error not found)
Expected behavior
using the mkcert alias from the command line works successfully.
Actual behavior
the newly installed package is not found when using the alias, but when using the package name mkcert-xxx-windows-amd64.exe it is found.
Environment
The text was updated successfully, but these errors were encountered: