Skip to content

Instantly share code, notes, and snippets.

@ikkou
Last active December 28, 2018 05:32
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ikkou/11243137 to your computer and use it in GitHub Desktop.
Save ikkou/11243137 to your computer and use it in GitHub Desktop.
Boxstarter

Windowsでも開発環境を一瞬で構築したい!

未開封のWindows PCと一緒に手渡された環境構築マニュアル、1つ1つ手作業で進めるだけで初日が終わってしまった、そんな時間の無駄を省く為のドキュメント。

コマンドプロンプトを起動

WindowsRを同時に押して、cmdと入力、Enterを押下

chocolateyのインストール

@powershell以下のコマンドをコマンドプロンプトにコピペしてエンターキーを押下

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

インストール完了後、下記のコマンドを入力して、正常にインストールされているか確認

chocolatey version

下記のように表示されればOK

name          : chocolatey
found         : 0.9.8.23
latestCompare : 000000000000.000000000009.000000000008.000000000023
verMessage    : Latest version installed
latest        : 0.9.8.23
foundCompare  : 000000000000.000000000009.000000000008.000000000023

boxstarterのインストール

cinst Boxstarter

boxstarterの起動

引き続き下記のコマンドを入力

BoxstarterShell

下記のように表示されればOK

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Windows\system32>BOXSTARTERSHELL
Welcome to the Boxstarter shell!
The Boxstarter commands have been imported from C:\Users\mwrock\AppData\Roaming
\Boxstarter and are available for you to run in this shell.
You may also import them into the shell of your choice.
Here are some commands to get you started:
Install a Package:   Install-BoxstarterPackage
Create a Package:    New-BoxstarterPackage
Build a Package:     Invoke-BoxstarterBuild
Enable a VM:         Enable-BoxstarterVM
For Command help:    Get-Help  -Full
For Boxstarter documentation, source code, to report bugs or participate in dis
cussions, please visit http://boxstarter.org
PS C:\>

boxstarterで開発環境のセットアップ

BoxstarterShellを起動後、下記のコマンドを入力

START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/ikkou/11243137/raw/e7c682aa472b5ed9d6a710a0114bad7f1c5c5988/Boxstarter.ps1       
## system configuration
Disable-UAC
Enable-RemoteDesktop
Install-WindowsUpdate -AcceptEula
Set-WindowsExplorerOptions -showHidenFilesFoldersDrives -showFileExtensions
Set-TaskbarSmall
Update-ExecutionPolicy Unrestricted
## install application
### browser
cinst GoogleChrome
cinst chromium
cinst GoogleChrome.Canary
cinst Firefox
cinst Opera
### web debugging tool
cinst fiddler4
cinst wireshark
cinst PhantomJS
cinst casperjs
### editor
cinst sublimetext2
cinst WebStorm
cinst notepadplusplus
cinst eclipse-standard-kepler
cinst Brackets
cinst markdownpad2
### version control system
cinst git
cinst gitextensions
cinst SourceTree
cinst githubforwindows
cinst Devbox-GitFlow
cinst TortoiseGit
cinst svn
cinst tortoisesvn
### merge tool
cinst winmerge-jp
cinst kdiff3
### archiver
cinst 7zip
cinst winrar
cinst lhaplus
### language
cinst ruby
cinst rubygems
cinst python
cinst pip
cinst nodejs
### ftp, sftp and ssh client
cinst winscp
cinst putty
### command line tool
cinst ConsoleZ
cinst Gow
### virtual machine
cinst virtualbox
cinst vagrant
### image
cinst IrfanView
### apache distribution
cinst XAMPP
### utility
cinst ccleaner
cinst QTTabBar
## finish message
Write-BoxstarterMessage 'Finished'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment