When running MongoDB on-premises, always install the latest, stable version of MongoDB.
When using MongoDB Atlas, you can choose whether to use the latest stable version of MongoDB or rapid releases.
For more information, see MongoDB Versioning.
For documentation associated with an EOL release, see the legacy documentation.
See also: MongoDB Versioning