-
Notifications
You must be signed in to change notification settings - Fork 488
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
[Install] winget installation instructions don't add az to path #3568
Comments
@citelao |
Kindly restart terminal and it should work. |
@citelao, Did you restart PowerShell before you tried to run |
@citelao, We are closing this issue for now, but feel free to comment here as necessary. Thank you for your feedback. |
Found this page during a websearch. A terminal restart is indeed the answer. |
Took me a while to login to respond to this issue, but yes, restarting Terminal (not PowerShell!) was sufficient to add This is caused by microsoft/winget-cli#549 (see also microsoft/winget-cli#549 (comment)). |
I've installed the az yesterday via winget and restarting the windows powershell and even reboot the system does not help. The installation does not add it to the path. Probably @dbradish-microsoft can reopen the issue. |
@thedomeffm, What version of Windows are you running? winget is only available by default in Windows 11 and modern versions of Windows 10. |
Windows 11 Enterprise 23H2 |
I've solved it by adding the following path to the
But from my expecation the installation of azure cli should have done it! |
Prerequisites
Azure CLI version being used
n/a
Link to affected document
https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=powershell
Description of the documentation error
I followed the winget installation instructions:
But this did not add
az
to my path. I am unable to run theaz
command bare; I have to run it:Suggested fix
2 possible fixes:
az
to the path.C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin
The text was updated successfully, but these errors were encountered: