You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
923 B
43 lines
923 B
9 years ago
|
---
|
||
|
order: 2
|
||
|
title: Installation
|
||
|
---
|
||
|
|
||
9 years ago
|
## Using npm to install
|
||
|
|
||
9 years ago
|
**We recommend using npm to install**,it not only makes development easier,but you can also take advantage of the whole ecosystem.
|
||
9 years ago
|
|
||
|
|
||
|
If using npm to install, you could use `import` or `require`.
|
||
|
|
||
9 years ago
|
Stable version:
|
||
9 years ago
|
|
||
|
[![npm package](http://img.shields.io/npm/v/antd.svg?style=flat-square)](https://www.npmjs.org/package/antd)
|
||
|
|
||
|
```bash
|
||
|
$ npm install antd --save
|
||
|
```
|
||
|
|
||
9 years ago
|
Beta version:
|
||
9 years ago
|
|
||
|
[![](https://cnpmjs.org/badge/v/antd.svg?&tag=beta&subject=npm)](https://www.npmjs.org/package/antd)
|
||
|
|
||
|
```bash
|
||
|
$ npm install antd@beta --save
|
||
|
```
|
||
|
|
||
|
> **Past releases**:https://github.com/ant-design/ant-design/releases
|
||
|
|
||
|
|
||
9 years ago
|
## Development tool
|
||
9 years ago
|
|
||
|
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.
|
||
|
|
||
9 years ago
|
> [More development tools](http://ant-tool.github.io/)。
|