Last active
December 4, 2015 19:14
-
-
Save megheaiulian/6eff1cb51b7846f24ce8 to your computer and use it in GitHub Desktop.
Windows 10 setup
This file contains hidden or 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
# Boxstarter options | |
$Boxstarter.RebootOk=$true # Allow reboots? | |
$Boxstarter.NoPassword=$false # Is this a machine with no login password? | |
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot | |
Update-ExecutionPolicy Unrestricted | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtension -DisableShowProtectedOSFiles | |
Set-TaskbarOptions -Size Large -Lock -Dock Bottom | |
# Update Windows and reboot if necessary | |
Install-WindowsUpdate -AcceptEula -Full | |
if (Test-PendingReboot) { Invoke-Reboot } | |
#7Zip, putty, git | |
cinst 7zip | |
cinst putty | |
cinst git.commandline | |
[Environment]::SetEnvironmentVariable( "GIT_SSH", "plink.exe", [System.EnvironmentVariableTarget]::Machine ) | |
#nodejs npm | |
cinst nodejs | |
npm config set prefix C:\ProgramData\npm | |
npm install -g grunt-cli bower http-server gulp | |
[Environment]::SetEnvironmentVariable( "Path", $env:Path + ";$env:programdata\npm", [System.EnvironmentVariableTarget]::Machine ) | |
#Atom, Brackets, Sublime 3 | |
cinst atom | |
[Environment]::SetEnvironmentVariable( "Path", $env:Path + ";$env:LOCALAPPDATA\atom\bin", [System.EnvironmentVariableTarget]::Machine ) | |
apm install language-stylus powershell project-manager | |
cinst brackets | |
cinst sublimetext3 | |
New-Item -ItemType Directory -Path "$env:appdata\Sublime Text 3\Installed Packages" | |
New-Item -ItemType Directory -Path "$env:appdata\Sublime Text 3\Packages\User" | |
Invoke-WebRequest "https://sublime.wbond.net/Package%20Control.sublime-package" -OutFile "$env:appdata\Sublime Text 3\Installed Packages\Package Control.sublime-package" | |
Invoke-WebRequest "https://gist.githubusercontent.com/megheaiulian/ec80e7286a61a1ca646b/raw/440e42473c305d844dc55f46ceaf11441f92728c/gistfile1.json" -OutFile "$env:appdata\Sublime Text 3\Packages\User\Package Control.sublime-settings" | |
#XAMPP | |
Invoke-WebRequest "http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/5.6.8/xampp-portable-win32-5.6.8-0-VC11.7z" -OutFile "C:\xampp.7z" -UserAgent [Microsoft.PowerShell.Commands.PSUserAgent]::FireFox | |
& 'C:\Program Files\7-Zip\7z.exe' x C:\xampp.7z -oc:\ x C:\xampp.7z -oc:\ | |
Remove-Item C:\xampp.7z | |
#Skype | |
cinst skype | |
cinst greenshot | |
#Browsers | |
cinst google-chrome-x64 | |
cinst firefox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment