See Upgrading from Craft 3 in the Craft 4 documentation. We’ve also updated our demos to include Craft 4 and Commerce 4 options.