strapi/docs/3.x.x/en/getting-started/installation.md

40 lines
1.5 KiB
Markdown
Raw Normal View History

2017-10-10 11:15:24 +02:00
# Installation
Installation is very easy and only takes a few seconds.
2017-10-10 11:15:24 +02:00
## Requirements
Please make sure your computer/server meets the following requirements:
2018-02-23 23:10:27 +01:00
- [Node.js](https://nodejs.org) >= 9: Node.js is a server platform which runs JavaScript. Installation guide [here](https://nodejs.org/en/download/).
- [MongoDB](https://www.mongodb.com/) >= 2.6: MongoDB is a powerful document store. Installation guide [here](https://www.mongodb.com/download-center?j#community).
2017-10-10 11:15:24 +02:00
## Setup
Time to install Strapi!
```bash
npm install strapi@alpha -g
```
2017-10-12 11:22:28 +02:00
Note: if you encounter npm permissions issues, [change the permissions to npm default directory](https://docs.npmjs.com/getting-started/fixing-npm-permissions#option-1-change-the-permission-to-npms-default-directory).
2017-10-10 11:15:24 +02:00
It takes about 20 seconds with a good Internet connection. You can take a coffee ☕️ if you have a slow one.
2017-10-10 11:15:24 +02:00
Having troubles during the installation? Check if someone already had the same issue https://github.com/strapi/strapi/issues. If not, you can [post one](https://github.com/strapi/strapi/issues/new), or ask for help https://strapi.io/support.
## Check installation
Once completed, please check that the installation went well, by running:
```bash
strapi -v
```
That should print `3.0.0-alpha.x`.
2017-10-11 10:51:28 +02:00
Strapi is installed globally on your computer. Type `strapi` in your terminal you will have access to every available command lines.
2017-10-10 11:15:24 +02:00
***
Congrats! Now that Strapi is installed you can [create your first API](quick-start.md).