Download Pico

Download the latest version of Pico or visit us on GitHub.


Install

Installing Pico is dead simple - and done in seconds! If you have access to a shell on your server (i.e. SSH access), we recommend using Composer. If not, use a pre-bundled release. If you don’t know what “SSH access” is, head over to the pre-bundled release. 😇

Pico requires PHP 5.3.6+

I want to use Composer

Starting with Pico 2.0 we recommend installing Pico using Composer whenever possible. Trust us, you won’t regret it when it comes to upgrading Pico! Anyway, if you don’t want to use Composer, or if you simply can’t use Composer because you don’t have access to a shell on your server, don’t despair, installing Pico using a pre-bundled release is still easier than everything you know!

Step 1

Open a shell and navigate to the desired install directory of Pico within the httpdocs directory (e.g. /var/www/html) of your server. Download Composer and run it with the create-project option:

$ curl -sSL https://getcomposer.org/installer | php
$ php composer.phar create-project picocms/pico-composer .

Step 2

What second step? There’s no second step. That’s it! Open your favorite web browser and navigate to your brand new, stupidly simple, blazing fast, flat file CMS! Pico’s default contents will explain how to create your own contents. 😊

I want to use a pre-bundled release

Do you know the feeling: You want to install a new website, so you upload all files of your favorite CMS and run the setup script - just to find out that you forgot about creating the SQL database first? Later the setup script tells you that the file permissions are wrong. Heck, what does this even mean? Forget about it, Pico is different!

Step 1

Download the latest Pico release and upload all files to the httpdocs directory (e.g. /var/www/html) of your server.

Step 2

Okay, here’s the catch: There’s no catch. That’s it! Open your favorite web browser and navigate to your brand new, stupidly simple, blazing fast, flat file CMS! Pico’s default contents will explain how to create your own contents. 😊

I’m a developer

So, you’re one of these amazing folks making all of this possible? We love you guys! As a developer we recommend you to clone Pico’s Git repository and use Composer to install its dependencies. You can find both Pico and Pico’s Composer starter project on Packagist.org. Using Pico’s Git repository is different from using one of the installation methods elucidated above, because it uses Pico as the Composer root package. Furthermore it gives you the current development version of Pico, what is likely unstable and not ready for production use!

Open a shell and navigate to the desired install directory of Pico within the httpdocs directory (e.g. /var/www/html) of your server. You can now clone Pico’s Git repository, download Composer and install Pico’s dependencies as follows:

$ git clone https://github.com/picocms/Pico.git .
$ curl -sSL https://getcomposer.org/installer | php
$ php composer.phar install

Upgrade Learn more…

Do you remember when you installed Pico? It was ingeniously simple, wasn’t it? Upgrading Pico is no difference! The upgrade process differs depending on whether you used Composer or a pre-bundled release to install Pico. Please note that you should always create a backup of your Pico installation before upgrading!

Pico follows Semantic Versioning 2.0 and uses version numbers like MAJOR.MINOR.PATCH. When we update the PATCH version (e.g. 2.0.0 to 2.0.1), we made backwards-compatible bug fixes. If we change the MINOR version (e.g. 2.0 to 2.1), we added functionality in a backwards-compatible manner. Upgrading Pico is dead simple in both cases. Simply head over to the appropiate Upgrade sections below.

But wait, we forgot to mention what happens when we update the MAJOR version (e.g. 2.0 to 3.0). In this case we made incompatible API changes. We will then provide a appropriate upgrade tutorial, so please head over to the “Upgrade” page.

I’ve used Composer to install Pico

Upgrading Pico is dead simple if you’ve used Composer to install Pico. Simply open a shell and navigate to Pico’s install directory within the httpdocs directory (e.g. /var/www/html/pico) of your server. You can now upgrade Pico using just a single command:

$ php composer.phar update

That’s it! Composer will automatically update Pico and all plugins and themes you’ve installed using Composer. Please make sure to manually update all plugins and themes you’ve installed manually.

I’ve used a pre-bundled release to install Pico

Okay, installing Pico was easy, but upgrading Pico is going to be hard, isn’t it? I’m affraid I have to disappoint you… It’s just as simple as installing Pico!

First you’ll have to delete the vendor directory of your Pico installation (e.g. if you’ve installed Pico to /var/www/html/pico, delete /var/www/html/pico/vendor). Then download the latest Pico release and upload all files to your existing Pico installation directory. You will be prompted whether you want to overwrite files like index.php, .htaccess, … - simply hit “Yes”.

That’s it! Now that Pico is up-to-date, you need to update all plugins and themes you’ve installed.

I’m a developer

As a developer you should be up-to-date already… 😉 For the sake of completeness, if you want to upgrade Pico, simply open a shell and navigate to Pico’s install directory within the httpdocs directory (e.g. /var/www/html/pico) of your server. Then pull the latest commits from Pico’s Git repository and let Composer update your dependencies:

$ git pull
$ php composer.phar update

Changelog

See the full changelog.

Open this documentation on GitHub Found a typo? Something is wrong in this documentation? Just fork and edit it!

GitHub Pages - This page was generated from a66d6c811a21acfd36a16a7c530d936f7eca330a at 2018-08-12 19:33:26 +0000

Pico was made by Gilbert Pellegrom and is maintained by The Pico Community. Released under the MIT license.