I have the current version of ngnix of:
nginx -v nginx version: nginx/1.15.6
now I want to upgrade it, but do not know how?
I have found these resources: https://medium.com/@soban1193/upgrading-nginx-to-the-latest-version-on-ubuntu-c0ad9116cf87 and https://www.digitalocean.com/community/questions/how-to-update-nginx-and-should-i-update-it but they seem for upgrade using ubuntu commands.
I want to know how I can make the upgrade using macos
To upgrade nginx on macOS, use Homebrew:
Update Homebrew
brew update
Upgrade nginx
brew upgrade nginx
Cleanup old artifacts
brew cleanup
Reference
1.4m articles
1.4m replys
5 comments
57.0k users