Skip to content

Instantly share code, notes, and snippets.

@anthonychu
Forked from jongalloway/PcRepave.cmd
Last active August 29, 2015 14:12
Show Gist options
  • Save anthonychu/ef67607e13fb981570e8 to your computer and use it in GitHub Desktop.
Save anthonychu/ef67607e13fb981570e8 to your computer and use it in GitHub Desktop.
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
cinst notepad2
cinst 7zip
cinst fiddler4
cinst googlechrome
cinst nodejs.install
cinst sublimetext3
cinst poshgit
cinst zoomit
# need to restart powershell to install the windows credential store
#cinst git-credential-winstore
write-host "Open PowerShell profile (run ""notepad `$profile"") and add this line to the beginning:" -ForegroundColor DarkCyan
write-host "`$env:path += "";`${env:ProgramFiles(x86)}\Git\bin""" -ForegroundColor Cyan
write-host "(This fixes ssh-agent warning: http://stackoverflow.com/a/17625052" -ForegroundColor DarkCyan
@echo off
SET DIR=%~dp0%
@PowerShell -NoProfile -ExecutionPolicy unrestricted -Command "& '%DIR%pcrepave.ps1' %*"
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment