# Installing from CLI

Strapi CLI (Command Line Interface) installation scripts are the fastest way to get Strapi running locally. The following guide is the installation option most recommended by Strapi.

# Preparing the installation

The CLI installation guide requires at least two software prerequisites to be already installed on your computer:

A database is also required for any Strapi project. Strapi currently supports the following databases:

Database Minimum version
SQLite 3
PostgreSQL 10
MySQL 5.7.8
MariaDB 10.2.7

# Creating a Strapi project

🤓 CLI installation options

The following installation guide covers the most basic installation option using the CLI. There are however other options that can be used when creating a new Strapi project:

  • Using the --quickstart flag at the end of the command to directly create the project in quickstart mode.
  • Using the --template flag at the end of the command to create a project with pre-made Strapi configurations (see Templates).
  • Using the --typescript flag (or the shorter version --ts) at the end of the command to create a project in TypeScript.
  • Using the --no-run flag will prevent Strapi from automatically starting the server (useful in combination with --quickstart)

For more information on available flags, see our CLI documentation.

Strapi also offers a starters CLI to create a project with a pre-made frontend application (see our dedicated blog post (opens new window)).

  1. In a terminal, run the following command:
  1. Choose an installation type:

    • Quickstart (recommended), which uses the default database (SQLite)
    • Custom (manual settings), which allows to choose your preferred database
  2. (Custom installation type only) Among the list of databases, choose a database for your Strapi project.

  3. (Custom installation type only) Name your project's database.

# Running Strapi

To start the Strapi application, run the following command in the project folder: