---
title: Install
description: >-
  The recommended way to install LitData for 99% of users is to use pip: pip
  install litdata Install the latest LitData from master with this command:
  pip...
canonical: 'https://lightning.ai/docs/litdata/install'
---
# Install {#install}

The recommended way to install LitData for 99% of users is to use pip:

```bash
pip install litdata
```

## Advanced installation {#advanced-installation}

### Install master {#install-master}

Install the latest LitData from master with this command:

```bash
pip install git+https://github.com/Lightning-AI/litdata.git@main
```

### From source {#from-source}

Use this to install LitServe for local development or to change the internals and submit a pull request 😉

```bash
git clone https://github.com/Lightning-AI/litdata
cd litdata
pip install -e '.[all]'
```

---

**Navigation**

- Parent: [LitData](/docs/litdata.md)
