# Installation

You can install Vuex ORM via NPM, Yarn, or download it directly. Remember since Vuex ORM is a plugin of Vuex, you need to install Vuex alongside with Vuex ORM.

# NPM

$ npm install vue vuex @vuex-orm/core --save

# Yarn

$ yarn add vue vuex @vuex-orm/core

# Direct Download / CDN

https://unpkg.com/@vuex-orm/core

Unpkg.com provides NPM-based CDN links. The above link always points to the latest release on NPM. You can also use a specific version/tag via URLs like https://unpkg.com/@vuex-orm/core. Include Vuex ORM from an HTML script.

<script src="https://unpkg.com/@vuex-orm/core"></script>

<!-- For the minified version -->
<script src="https://unpkg.com/@vuex-orm/core/dist/vuex-orm.min.js"></script>

# Dev Build

You have to clone directly from GitHub and build vuex yourself if you want to use the latest dev build.

$ git clone https://github.com/vuex-orm/vuex-orm.git node_modules/vuex-orm
$ cd node_modules/vuex-orm
$ npm install
$ npm run build