# Install guide

## Get it

Luxon is a simple library, but JS environments are complicated. Luxon works by providing different builds for different environments.

## Basic browser setup

- Download full
- Download minified

Just include Luxon in a script tag. You can access its various classes through the `luxon` global.

    <script src="luxon.js"></script>

You may wish to alias the classes you use:

    var DateTime = luxon.DateTime;

## Node

Install via NPM:

    npm install luxon

    var luxon = require('luxon');

## AMD (System.js, RequireJS, etc)

- Download full
- Download minified

    requirejs(['luxon'], function(luxon) {
      //...
    });

## ES6

- Download full
- Download minified

    import { DateTime } from 'luxon';

## Webpack

##