You can install User Group Field via the plugin store, or through Composer.
To install User Group Field, navigate to the Plugin Store section of your Craft control panel, search for
User Group Field, and click the Try button.
You can also add the package to your project using Composer and the command line.
Open your terminal and go to your Craft project:
Then tell Composer to require the plugin, and Craft to install it:
composer require verbb/user-group-field && php craft plugin/install user-group-field