Skip to content

Instantly share code, notes, and snippets.

@creativebracket
Last active December 4, 2018 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creativebracket/128dafcbbfdc1d6946231a931f95cb1b to your computer and use it in GitHub Desktop.
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
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