Skip to content

Instantly share code, notes, and snippets.

@AnthonyMastrean
Last active January 2, 2016 09:39
Show Gist options
  • Save AnthonyMastrean/8284232 to your computer and use it in GitHub Desktop.
Save AnthonyMastrean/8284232 to your computer and use it in GitHub Desktop.
Boxstarter scripts
# no MSDN license here
cinst VisualStudio2012WDX
cinst VisualStudioExpress2012Web
cinst VisualStudioExpress2012Windows8
cinst IHateRegions
cinst IndentGuides
cinst NugetPackageManager
cinst PerfWatsonMonitor
cinst VSColorOutput
# fancy Windows features
cinst Microsoft-Hyper-V-All -source WindowsFeatures
cinst Microsoft-Hyper-V-Management-PowerShell -source WindowsFeatures
cinst IIS-WebServerRole -source Windowsfeatures
# scoop!
Invoke-Expression (New-Object System.Net.WebClient).DownloadString("https://get.scoop.sh")
scoop install sudo
scoop install concfg
Update-ExecutionPolicy -Policy Unrestricted
Enable-RemoteDesktop
# environment
cinst binroot
Install-ChocolateyEnvironmentVariable "chocolatey_bin_root" (Split-Path $ENV:PROGRAMDATA -Leaf) "User"
Install-ChocolateyEnvironmentVariable "ChocolateyBinRoot" $ENV:PROGRAMDATA "User"
# apps
cinst 7zip
cinst ansicon
cinst dejavufonts
cinst dropbox
cinst f.lux
cinst git
cinst git-difftool-diffmerge
cinst googlechrome
cinst notepad2-mod
cinst nuget.commandline
cinst nugetpackageexplorer
cinst ruby -Version 1.9.3.48400 -x86
cinst ruby.devkit
cinst powershell
Install-ChocolateyPinnedTaskBarItem "${ENV:PROGRAMFILES(X86)}\Google\Chrome\Application"
Install-ChocolateyPinnedTaskBarItem "$ENV:WINDIR\System32\WindowsPowerShell\v1.0\powershell.exe"
Install-ChocolateyPinnedTaskBarItem "$ENV:PROGRAMFILES\Notepad2\notepad2.exe"
Install-ChocolateyPinnedTaskBarItem "$ENV:WINDIR\System32\SnippingTool.exe"
Install-WindowsUpdates -AcceptEula
Update-ExecutionPolicy -Policy Unrestricted
Enable-RemoteDesktop
# environment
cinst binroot
Install-ChocolateyEnvironmentVariable "chocolatey_bin_root" (Split-Path $ENV:PROGRAMDATA -Leaf) "User"
Install-ChocolateyEnvironmentVariable "ChocolateyBinRoot" $ENV:PROGRAMDATA "User"
# apps
cinst 7zip
cinst ansicon
cinst dejavufonts
cinst dropbox
cinst f.lux
cinst git
cinst git-difftool-diffmerge
cinst googlechrome
cinst notepad2-mod
cinst nuget.commandline
cinst nugetpackageexplorer
cinst ruby -Version 1.9.3.48400 -x86
cinst ruby.devkit
cinst start8
cinst modernmix
Install-ChocolateyPinnedTaskBarItem "${ENV:PROGRAMFILES(X86)}\Google\Chrome\Application"
Install-ChocolateyPinnedTaskBarItem "$ENV:WINDIR\System32\WindowsPowerShell\v1.0\powershell.exe"
Install-ChocolateyPinnedTaskBarItem "$ENV:PROGRAMFILES\Notepad2\notepad2.exe"
Install-ChocolateyPinnedTaskBarItem "$ENV:WINDIR\System32\SnippingTool.exe"
Install-WindowsUpdates -AcceptEula
@AnthonyMastrean
Copy link
Author

Launch these URLs in Internet Explorer

@AnthonyMastrean
Copy link
Author

Set notepad2-mod default encoding to "UTF-8"

@AnthonyMastrean
Copy link
Author

What about using Puppet locally instead of Boxstarter? Maybe this does need to go into a repo, huh?

@AnthonyMastrean
Copy link
Author

Moar Windows options:

  • File Explorer: Use Separate Process
  • File Explorer: Single-Click
  • Windows 8 (Win+X): show PowerShell instead of Command Prompt
  • Desktop: Add/Remove Common Shortcuts
  • Recycle Bin: do not notify
  • Disable AeroShake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment