Level 104
Unfortunately, the version number is hardcoded in the MongoDB install script; you would fork the repo...
https://github.com/laravel/homestead/blob/main/scripts/features/mongodb.sh#L28
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I wanted to know if it's possible to specify the MongoDB version on the Homestead.yaml file?
because the default version installed on the latest Homestead is v4.X, I wanted to install v6.X of mongodb.
I wanted to avoid installing it manually, so I won't have update or break the default configurations.
Please or to participate in this conversation.