Install Kirby CMS locally

Published

Updated

Install Kirby CMS on the local computer with Composer or as a download of the Plainkit. Develop locally, then deploy to fortrabbit.

Get ready

If you already have a local Kirby project, continue with deployment options.

Kirby starter kits

Kirby offers three starting points:

These guides use the Plainkit.

Install with Composer

# 1. Create a local Kirby project folder with Composer:
$ composer create-project getkirby/plainkit {{app-env-id}}
shell

Install without Composer

# Make a directory and move into it
$ mkdir {{app-env-id}} && cd {{app-env-id}}

# Get the plainkit
$ wget https://github.com/getkirby/plainkit/archive/main.zip

# Unzip the plainkit
$ unzip main.zip

# Move all contents from the folder one level up
$ mv plainkit-main/* .

# Remove artifacts
$ rm -rf main.zip plainkit-main
shell

Written by humans and AI in collaboration.

AI use & editorial processEdit on GitHub ↗