Installation
Learn how to install MMPilot and use it in your web projects.
MMPilot can be installed either as a global command line utility or as a dev dependency in your Node.js project. A global installation is not required unless you want to use mmpilot commands for creating a new project.
Pre-requisites
Before installing MMPilot, please make sure that Node.js is installed on your system. Head over to the Node.js website to download and install latest version of Node.js utility.
To ensure Node.js is correctly installed and npm
is available in your PATH, run the following command in a terminal
node -v
This should output a version number similar to 3.10.8
Install Globally
To install mmpilot
globally, run the following command in your terminal.
npm install mmpilot -g
Once mmpilot
installs, you would be able to run mmpilot
commands from your terminal such as the following:
mmpilot new web mywebsite
Install as Project Dependency
To install mmpilot
as your project dependency, run the following command inside your Node.js projects root.
npm install mmpilot --save-dev
This will add an entry in devDependencies of your project's package.json
file.
Once you have installed mmpilot
in your project you can get started by learning about setting up the project structure.
Alternatively, use the MMPilot starter templates to get started faster with your project.