Nuno Maduro on X: "Insanely important tip: make sure to specify the PHP version you're using in production in your "composer.json" file. This way, composer will create the "composer.lock" file specifically for
Composer can not find composer.json file · Issue #8325 · composer/composer · GitHub
Install Composer On Ubuntu In 3 Easy & Simple Steps