Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 1.51 KB

installation.md

File metadata and controls

78 lines (50 loc) · 1.51 KB

Installation

  1. PHAR
  2. Phive
  3. Composer
  4. Homebrew

PHAR

The preferred method of installation is to use the Box PHAR which can be downloaded from the most recent Github Release. This method ensures you will not have any dependency conflict issue.

Phive

You can install Box with Phive

$ phive install humbug/box

To upgrade box use the following command:

$ phive update humbug/box

Composer

You can install Box with Composer:

$ composer global require humbug/box

If you cannot install it because of a dependency conflict or you prefer to install it for your project, we recommend you to take a look at bamarni/composer-bin-plugin. Example:

$ composer require --dev bamarni/composer-bin-plugin
$ composer bin box require --dev humbug/box

$ vendor/bin/box

Homebrew

To install box using Homebrew, you need to tap the box formula first

$ brew tap box-project/box
$ brew install box

The box command is now available to run from anywhere in the system:

$ box -v

To upgrade box use the following command:

$ brew upgrade box


« Table of ContentsUsage »