You can choose to install Pecker through one of the following ways (or both, if you want):
- as a command-line interpreter (CLI) program, allowing you to run Pecker from any directory
- as a local NodeJS module within your project directory
To install Pecker CLI
Installing Pecker CLI program allows you to run Pecker from any directory. It also allows you to quickly initialize your project to start using Pecker easily.
Think of Pecker CLI as a butler, helping you do to perform the menial tasks. You might not necessarily need him every time, but it might be just nice to have around.
$ npm install pecker-cli -g
To install Pecker module locally within your project directory
Installing it as a local NodeJS module allows you to interact with Pecker APIs directly in your code.
$ cd /path/to/your/project
$ npm install pecker
Related pages
- Read Usages for ways to use and interact with Pecker APIs.
- See the documentation on using the Pecker CLI.