Boxstarter can be installed using Chocolatey or by downloading the Boxstarter zip file and running Setup.Bat
NOTE: If you simply want to install a "one-off" script locally on a machine, you may find it easiest to launch Boxstarter from the web.
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
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.