forked from Azure/CARML-Learn
-
Notifications
You must be signed in to change notification settings - Fork 0
v0.4.0 Lab 0 Pre Requisites
CARMLPipelinePrincipal edited this page Dec 16, 2022
·
2 revisions
This lab requires a number of fundamental pre-requisites you need in order to complete the lab in its entirety. These are
- A GitHub Account
- An active Azure subscription
-
Owner
(orContributor
+User Access Administrator
) permissions on set subscription - Access to the subscriptions tenant with permissions to create applications
- Installed
-
Visual Studio Code
- + Extension: Bicep
- Bicep CLI
-
Azure CLI
- + Extension: Bicep
-
Git
Note: If just installed, don't forget to set both your git username & password
git config --global user.name "John Doe" git config --global user.email "[email protected]"
- Windows Terminal
-
PowerShell Core
- + Module:
Az.Accounts
- + Module:
Az.Resources
- + Module:
Pester
with minimum version5.3.1
- + Module:
- Powershell-Yaml module
-
Visual Studio Code
Check version script
az --version
bicep --version
git --version
code --version
pwsh --version
Get-Module -Name 'Az.Accounts' -ListAvailable
Get-Module -Name 'Az.Resources' -ListAvailable
Get-Module -Name 'Pester' -ListAvailable
Install pre-requisites script (only Win10/11)
Note: You must have
winget
installed. You can achieve this by installing the AppApp Installer
from the Microsoft Store.
# WinGet software
winget install --id 'Git.Git'
winget install --id 'Microsoft.PowerShell'
winget install --id 'Microsoft.AzureCLI'
winget install --id 'Microsoft.Bicep'
winget install --id 'Microsoft.VisualStudioCode'
winget install --id 'GitHub.GitHubDesktop'
winget install --id 'Microsoft.WindowsTerminal'
# VS Code Extensions
code --install-extension 'ms-azuretools.vscode-bicep'
code --install-extension 'ms-vscode.PowerShell'
code --install-extension 'msazurermtools.azurerm-vscode-tools'
code --install-extension 'ms-vscode.azurecli'
# Installing or updating PowerShell modules may require elevated permissions.
Install-Module -Name 'Az.Accounts' -Scope 'CurrentUser' -Force
Install-Module -Name 'Az.Resources' -Scope 'CurrentUser' -Force
Install-Module -Name 'Pester' -Scope 'CurrentUser' -Force
Install-Module -Name 'powershell-yaml' -Scope 'CurrentUser' -Force
If you already have the Azure CLI installed, please update your CLI installation with az upgrade
.
You should also update the PowerShell modules, if installed, with Update-Module
.
This wiki is being actively developed