Skip to content

Instantly share code, notes, and snippets.

@tonkatsu7
Last active June 2, 2019 10:22
Show Gist options
  • Save tonkatsu7/a2527d2fe50cf599d8326a78a133171a to your computer and use it in GitHub Desktop.
Save tonkatsu7/a2527d2fe50cf599d8326a78a133171a to your computer and use it in GitHub Desktop.
Stand up Azure IoT Edge dev 4 Linux containers environment
# Open a PowerShell console as Administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
# Restart Windows
# Open a cmd as administrator
# Install choco
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
# Install VS Code
choco install vscode
# Install .net core 2 SDK
# Install python
# Download the stable installer from the website - rememeber to check 'Add to PATH' and 'Disable path length limit'
# Install pip
# open cmd
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
# Install Docker Desktop for Windows
choco install docker-for-windows
# Restart Windows
# Install azure-cli
choco install azure-cli
# Install IoT Edge Hub Dev simulator
pip install --upgrade iotedgehubdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment