Where exactly to update the composer.json to install an older version of Craft 3? I'm trying to install a non-current version of Craft 3, and several pointers on using composer to do this say to &quot;update the composer.json&quot; line with the version you want.
Can someone please explain exactly where this file should be, and/or the steps to do this, as I cannot make head-nor-tail of this process.
Where can I download previous versions of Craft?
https://craftcms.com/knowledge-base/downloading-previous-commerce-versions
Make sure you have Composer installed from the command line.
Open your project's composer.json file.
Find the &quot;require&quot; section. Similar to:

&quot;require&quot;: {
    &quot;craftcms/cms&quot;: &quot;^3.6.4&quot;,
    &quot;vlucas/phpdotenv&quot;: &quot;^3.4.0&quot;
},


Edit the craftcms/cms line to the exact version you want. For example 3.5.0.

&quot;craftcms/cms&quot;: &quot;3.5.0&quot;,


Run composer update from the CLI from your project's root and that will pull in a fresh set to Craft 3.5.0 files.