# 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:
- Node.js (opens new window): only LTS versions are supported (v12 and v14). Other versions of Node.js may not be compatible with the latest release of Strapi. The 14.x version is most recommended by Strapi.
- npm (opens new window) (v6 only) or yarn (opens new window) to run the CLI installation scripts.
A database is also required for any Strapi project. Strapi currently supports the following databases:
Starting from the release of Strapi v4, MongoDB is not supported natively anymore and no connector is available. For more information, please refer to the official communication on the topic (opens new window).
# 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
--quickstartflag at the end of the command to directly create the project in quickstart mode.
- Using the
--templateflag at the end of the command to create a project with pre-made Strapi configurations (see Templates).
Strapi also offers a starters CLI to create a project with a pre-made frontend application (see our dedicated blog post (opens new window)).
- In a terminal, run the following command:
Choose an installation type:
Quickstart (recommended), which uses the default database (SQLite)
Custom (manual settings), which allows to choose your preferred database
When terminal asks
Would you like to use a template?, type
yfor yes or
nfor no then press Enter.
(Templates only) Among the list of use cases, choose one for your Strapi project.
(Custom installation type only) Among the list of databases, choose a database for your Strapi project.
(Custom installation type only) Name your project's database.
# Running Strapi
To start the Strapi application, run the following command in the project folder: