The preferred way to install this extension is through composer.
Either run
php composer.phar require yii-diandi/yii2-admin "2.x-dev"
Or, you may add
"yii-diandi/yii2-admin": "2.x-dev"
to the require section of your `composer.json` file and execute `php composer.phar update`.
### Install From the Archive
Download the latest release from here [releases](https://github.com/yii-diandi/yii2-admin/releases), then extract it to your project.
In your application config, add the path alias for this extension.
```php
return [
...
'aliases' => [
'@diandi/admin' => 'path/to/your/extracted',
// for example: '@diandi/admin' => '@app/extensions/diandi/yii2-admin-2.0.0',
...
]
];