在终端输入:php
curl -s https://octobercms.com/api/installer | php
或者若是没有curl,能够在终端输入:git
php -r "eval('?>'.file_get_contents('https://octobercms.com/api/installer'));"
使用create-project
,安装在myoctober目录里。github
composer create-project october/october myoctober
编辑config/cms.php,把disableCoreUpdates设置为true容许更新框架核心。shell
'disableCoreUpdates' => true,
使用composer执行更新:|数据库
composer update
运行october:install
命令启动配置向导:api
php artisan october:install
october更新:composer
php artisan october:update
数据库迁移:框架
php artisan october:up
注意:若是须要取消迁移能够执行php artisan october:down
curl
php artisan october:passwd username password