# Install

Please ensure you have installed PaddlePaddle1.7+. [How to install PaddlePaddle](https://www.paddlepaddle.org.cn/install/quick)。


- Install by pip

```bash
pip install paddleslim -i https://pypi.org/simple
```

- Install from source

```bash
git clone https://github.com/PaddlePaddle/PaddleSlim.git
cd PaddleSlim
python setup.py install
```

- History packages

History packages is available in [pypi.org](https://pypi.org/project/paddleslim/#history).
