cli
cli copied to clipboard
Installation using 'winget' won't work (solution included)
Hi, I've noticed an issue after installing ipinfo with winget and decied to share my thoughts (solution) here.
At this point of time the installation path is: "C:\Users\YourUserName\AppData\Local\Microsoft\WinGet\Packages\ipinfo.ipinfo_Microsoft.Winget.Source_8wekyb3d8bbwe" (this location is added to PATH, so no worries for that)
Executable name is: "ipinfo_3.3.1_windows_amd64.exe"
Solution: Rename that file to "ipinfo.exe" and restart your terminal/PowerShell
To Reproduce:
- Run
winget install ipinfo.ipinfo - Reboot or open a new terminal
- Run
ipinfo 1.1.1.1 - Observe the error:
ipinfo is not recognized as a name of a cmdlet, function, script file, or executable program.
Expected behavior: The ipinfo command should be available immediately after installation if the install directory is in the PATH.