What's the best way to install RC versions with Composer?

Whats the best way to install the RC versions with composer, keeping in mind ive installed the official release already with composer.

I worked it out:

composer require getkirby/cms:3.0.1-rc.1

Will update the currently installed version (which in my case was the 3.0 release from launch day) to the RC version.

2 Likes

You can also add "minimum-stability": "RC" to your composer.json file. Then you don’t have to change the exact version every time.

{
    "config": {
        "optimize-autoloader": true
    },
    "require": {
        "php": "7.2.*",
        "getkirby/cms": "^3.0"
    },
    "minimum-stability": "RC"
}
4 Likes