43 lines
917 B
Markdown
Raw Normal View History

2016-04-04 21:51:00 +02:00
# Install Strapi
Before installing Strapi, make sure you have [installed Node.js](https://nodejs.org/en/download/package-manager/).
!!! important
You need to make sure your machine meets the following requirements:
- Node.js >= 4.0.0
- npm >= 3.0.0
2016-03-22 18:11:11 +01:00
## Installation
To install the latest stable release with npm via the command-line tool:
```bash
$ npm install strapi-cli -g
```
Depending on the permissions on your machine you might need to run the installation as an administrator using `sudo`:
```bash
$ sudo npm install strapi-cli -g
```
## Verify the installation
Before creating a new project, let's verify the Strapi installation with:
```bash
$ strapi -v
2.0.0
```
If the command doesn't print a version but an error, the installation failed.
If you don't encounter any error you now are able to start using Strapi.
2016-03-25 22:22:34 +01:00
You can print out all `strapi` commands with:
```bash
$ strapi
```