# Installation

Chariot.js can either be installed without optional native dependencies for a super simple and quick setup without meeting any prerequisites or with all optional native dependencies which drastically enhance performance on very large bots.

# Without optional dependencies

Installing Chariot.js without any optional dependencies is as easy as initializing a new npm project by running npm init followed by npm install chariot.js --no-optional in a terminal or command line of your choice.

IMPORTANT

Don't forget the --no-optional flag when running the installation! Forgetting to provide this flag will initiate a full installation including all optional native dependencies which require a working compiler toolchain to succeed!

# With optional dependencies

If all prerequisites are met for compiling all optional dependencies, installing Chariot.js is as easy as initializing a new npm project by typing npm init and running npm install chariot.js. If you are using a version of npm lower than 4.5 (you shouldn't) run following command instead which saves Chariot.js as a dependency in your package.json file: npm install chariot.js --save. This will install the latest stable version of Chariot.js into your freshly created project.

# ❤️ That's it!

You are now able to create a super powerful bot with Chariot.js as its core handling all the complex stuff for you and dive into the wonderful world of creating extremely powerful, performant, highly extensible and scalable bots with Eris!