fedora-upgrade

upgrade (unofficial tool)

Fedora
RUN dnf install -y fedora-upgrade
click the source code to copy install fedora-upgrade on any operating system with command-not-found.com