在終端輸入: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