The upgrade to Bootstrap 5 was completed in Moodle version 5.0. If you are running this version of the platform, no additional action is required to start using Bootstrap 5 classes and components.
In Moodle version 4.5, Bootstrap 5 is not available yet-only some Bootstrap 5 classes were synthetically added (see Create a BS5 bridge) to help with migration processes.