To install Strapi locally, follow the steps given below:
- Make sure you have Node.js version 14 or higher installed. You can download it from the official website of nodejs
- Strapi can be installed using Yarn or NPM. You can install Yarn globally with:
npm install -g yarn
-
Run the following command to create a new Strapi project:
npx create-strapi-app@latest my-project --quickstart
OR
Using Yarn:
yarn create strapi-app my-project-quickstart
- After installation, navigate to your project folder:
cd my-project
- Start the strapi server:
npm run develop
Oryarn develop
- Open your browser and go to
http://localhost:1337/admin
to access the Strapi admin panel.