You cannot upgrade the engine version beyond patches, (at least normally, I’m sure git savvy people can build some stuff themselves) But you can install new versions by pressing the + next to “engine versions”.
If you have an existing project, you can convert it to UE5 when you launch UE5 directly instead of launching the project.