To install nginx, run the following command from the command line or from PowerShell:
choco install nginx
To upgrade nginx, run the following command from the command line or from PowerShell:
choco upgrade nginx
To uninstall nginx, run the following command from the command line or from PowerShell:
choco uninstall nginx
nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, a generic TCP/UDP proxy server, as well as a load balancer and an HTTP cache.
/installLocation- Intstall to a different destination folder. Default:
/serviceName- The name of the windows service which will be create. Default:
/port- The port Nginx will listen to. Default:
/noService- Don’t install the nginx windows service
/serviceAccount- account to run Windows Service. One of
choco install nginx --params '"/installLocation:C:\nginx /port:433"'
- This package will install the latest Nginx binaries
- The complete path of the package will be
- Nginx will be installed as a service under the default name ‘Nginx’ (can be disabled with the
Please Note: This is an automatically updated package. If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.