Sophisticated, Lightweight and Simple

Jump to docs navigation
Edit on GitHub

Installation » Clone the git repository

If you want to install Bolt using Git and Composer, you need to decide if you want to use a stable branch, or the bleeding-edge master branch.

Getting Composer

First thing you will need, if you don't have it already, is a recent version of Composer. To get this, see the Composer Download page for instructions.

Stable Branch

For a checkout of the current 'default' branch, execute the following commands:

git clone git:// bolt
cd bolt
php composer.phar install

Note: Bolt uses the current stable release branch as its default when cloning the repository.

Master (unstable) Branch

For a checkout of the bleeding-edge 'master' branch, execute the following commands:

git clone git:// bolt
cd bolt
git checkout master
php composer.phar install

Next Steps

Web server configuration

After extracting the tar file, you'll end up with a structure, containing the bolt files. These are the folders that contain all of the Bolt code, resources and other files. Unlike the other methods of installation, all of them are placed in the top level of the so-called web root. The created bolt/ folder where you've made the git checkout needs to be accessible in the browser.

To do this, configure your webserver to use the bolt/ folder as the web root. For more information about this, see the pages on configuring Apache or Nginx.

If you bump into trouble setting this up, or you have no access to change your web server's configuration, read the page Troubleshooting 'outside of the webroot'.


Generally most servers should be fine with the default permissions. However, if you require guidance on setting up permissions, see our File System Permissions page.

Finishing Set-up

After you've done this, skip to the section Setting up Bolt.

Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on IRC.
Spotted a typo, or have something to add? Edit this page on GitHub.