mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-19 00:41:03 +08:00
46 lines
1.0 KiB
Markdown
46 lines
1.0 KiB
Markdown
---
|
||
order: 2
|
||
title: Installation
|
||
---
|
||
|
||
## Using npm to install
|
||
|
||
**We recommend using npm to install**,it not only makes development easier,but you can also take advantage of the whole ecosystem.
|
||
|
||
|
||
If using npm to install, you could use `import` or `require`.
|
||
|
||
Stable version:
|
||
|
||
[](https://www.npmjs.org/package/antd)
|
||
|
||
```bash
|
||
$ npm install antd --save
|
||
```
|
||
|
||
You can Subscribe to this feed for new version notification: https://github.com/ant-design/ant-design/releases.atom
|
||
|
||
|
||
Beta version:
|
||
|
||
[](https://www.npmjs.org/package/antd)
|
||
|
||
```bash
|
||
$ npm install antd@beta --save
|
||
```
|
||
|
||
> **Past releases**:https://github.com/ant-design/ant-design/releases
|
||
|
||
|
||
## Development tool
|
||
|
||
We provide React components [Scaffold tool](https://github.com/ant-design/antd-init).
|
||
|
||
```bash
|
||
$ npm install antd-init -g
|
||
```
|
||
|
||
Inside an empty folder run `antd-init` to init.
|
||
|
||
> [More development tools](http://ant-tool.github.io/)。
|