Installing Boxstarter

Boxstarter can be installed using Chocolatey or by downloading the Boxstarter zip file and running Setup.Bat

Prerequisites

Boxstarter requires the following to work:

  • OS: Windows 7 or Windows Server 2008 R2 and higher
  • PowerShell Version 2 or higher
  • Administrative privileges on the machine where Boxstarter is running

Installing from Chocolatey

CINST Boxstarter

This will download and install the Boxstarter modules to your PSModulePath.

Downloading the zip file

The zip file contains a Setup.Bat file that will go to Chocolatey and install Boxstarter. If Chocolatey is not installed on your machine, the Boxstarter installer will request the user's permission to install it. Note: Setup.bat accepts a -Force argument to suppress this prompt.

Boxstarter is now installed in your modules path!

Both the Chocolatey Boxstarter package and the downloaded zip file available on this website install all Boxstarter modules except the Boxstarter.Azure module which provides integration with Windows Azure VMs. You can install the Azure module by running CINST Boxstarter.Azure. In addition to the Boxstarter.Azure module, it also installs the Windows Azure PowerShell toolkit, the Azure SDK for .Net Libraries and .Net 4.5. It requires PowerShell 3 or higher (the version installed with Windows 8/server 2012 and higher but also freely available for download on older versions) to install successfully.

After Boxstarter is installed, a new PowerShell console must be opened before you can load the modules and run its commands. For convenience you can use the Boxstarter Shell for running Boxstarter commands which is the easiest way to ensure that all Boxstarter modules are properly loaded regardless of the version of Windows and PowerShell you are running.

Installing from the web

If you are running powershell v3 or higher:

. { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force

If you are running powershell v2:

iex ((New-Object System.Net.WebClient).DownloadString('http://boxstarter.org/bootstrapper.ps1')); get-boxstarter -Force