First just login to your WHM installation (https://domain.name/whm) and then:
- Go to WHM -> Software -> Module Installers -> PHP Pecl
Click Manage and when the new screen shows up type imagick under the ‘Install a PHP Pecl’ and click Go.
Click the ‘Install Now’ button and Imagick will be installed for the selected PHP version.