title: Getting Started
---

# Installation

> You can download Homeworks by many ways
>
> We recommend that you use NPM for download.

----

## Dependency

Homeworks has **jQuery** to under dependency.

It means you must to load jQuery before Homeworks.

```html
<script src="https://code.jquery.com/jquery-3.2.0.min.js"></script>
```

However homeworks has a plan to escape from dependencies.

In the future, You will meet Homeworks which has no dependencies.

----

## NPM

- Open terminal in current path and type following command.

```bash
$ npm install homeworks --save
```

## BOWER

- Open terminal in current path and type following command.

```bash
$ bower install homeworks --save
```

## YARN

- Open terminal in current path and type following command.

```bash
$ yarn install homeworks --save
```

## ZIP file download

This is easy way to download Homeworks.

Download from [this link](https://github.com/IGAWorksDev/homeworks/archive/master.zip) and uncompress it.

There is <span class="label label-code">/dist</span> directory in the downloaded file.

<span class="label label-code">/dist</span> directory has a structure like following.

```plaintext
│ /dist
│
├─┬─ /js
│ │
│ └── /homeworks.min.js
│
└─┬─ /css
  │
  └── /homeworks.min.css
```

----

## Snippet

Insert following snippet in your <span class="label label-code">head</span> element.

```html
<script src="./dist/js/homeworks.min.js"></script>
<link rel="stylesheet" href="./dist/css/homeworks.min.css" />
```
