-
Notifications
You must be signed in to change notification settings - Fork 387
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
Offline installation steps of Azure PowerShell for Linux #2752
Comments
@thiruma0203 |
@thiruma0203 I've added this suggestion as an idea for a future enhancement to our documentation. |
Any solution on this? looking for a way to install azurepowerhell in Redhat 7.9 version offline where internet is not enabled. |
@thiruma0203 and @vivuu1989, the steps to install the Az PowerShell module offline via the tar archive are: These instructions work cross-platform on Windows, Linux, and macOS:
|
Didnt Work. (Redhat version 7.9, pwsh installed version 7.2.18) getting the below error ./InstallModule.ps1: line 1: syntax error near unexpected token removed the comment session as well, but again throwing the error ./InstallModule.ps1: line 3: $'.\r': command not found |
You've launched PowerShell via |
Yes, I followed the instruction which you shared above and installed powershell in redhat machine using command |
Currently this documentation only has online install steps for Linux with Install-Module cmdlet.
As GitHub releases have .tar.gz package with Installmodule.PS1 in it, it seems to better to have offline installation steps as well.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: