Checks if Chocolatey is installed on Windows.
Module
installNginx
Determine the appropriate installation command based on the OS.
Installs NGINX on the system.
Handles errors encountered during installation.
Handles errors specific to macOS.
Handles errors specific to Linux.
Handles errors specific to Windows.