You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB

8 years ago
# Installing Neutrino
## Requirements
8 years ago
Installing Neutrino requires Node.js v6+, and either [Yarn](https://yarnpkg.com/lang/en/docs/install/) or
npm. At a minimum, you will be installing Neutrino and a Neutrino preset, such as `neutrino-preset-react`.
8 years ago
## Yarn Installation
8 years ago
Run the following command inside your project directory. Substitute `PRESET_PKG` with the name of the preset
you wish to install.
```bash
yarn add --dev neutrino PRESET_PKG
```
For example, if you wanted to build your project using Neutrino's React preset:
```bash
yarn add --dev neutrino neutrino-preset-react
```
## npm Installation
8 years ago
Run the following command inside your project directory. Substitute `PRESET_PKG` with the name of the preset
you wish to install.
```bash
npm install --save-dev neutrino PRESET_PKG
```
For example, if you wanted to build your project using Neutrino's React preset:
```bash
npm install --save-dev neutrino neutrino-preset-react
```
## Getting started
8 years ago
Please continue through the documentation for instructions on Neutrino usage and default project layout.