---
sidebar_position: 1
---

# Installation

Mutative is a npm package that can be used in Node.js and browsers, it is also compatible with TypeScript.

## Using Mutative from npm/Yarn/pnpm

```bash npm2yarn
npm install mutative
```

Mutative size is only `4.12 KB` (minified and gzipped), it is very lightweight.

## Using Mutative from CDN

- Unpkg: `<script src="https://unpkg.com/mutative"></script>`
- JSDelivr: `<script src="https://cdn.jsdelivr.net/npm/mutative"></script>`
