List both installed and available package groups:
dnf group list
List only installed package groups:
dnf group list available
dnf group list --available
List the installed package groups:
dnf group list installed
dnf group list --installed
By default, the so called hidden groups are not included in the list.dnf group list hidden
dnf group list --hidden
To get details about a specific group:
dnf group info virtualization
For more details the -v or --verbose flag can be included