Last active
December 4, 2018 12:45
-
-
Save creativebracket/128dafcbbfdc1d6946231a931f95cb1b to your computer and use it in GitHub Desktop.
Windows Script for "Set up your first Dart project on Windows" Egghead.io lesson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Install Chocolatey package manager with cmd.exe | |
@"%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" | |
REM ..or Install Chocolatey package manager with Powershell.exe | |
REM Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
REM Install the Dart SDK | |
choco install dart-sdk | |
REM ..or Install the Dart SDK development version | |
REM choco install dart-sdk --pre | |
REM If upgrading the Dart SDK | |
REM choco upgrade dart-sdk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment