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:
- Plainkit: with no content at all (used here).
- Starterkit: with demo content and a theme with templates.
- Composerkit: best for Git/Composer workflows. Adjust root path to
public.
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