Check the version of the currently installed Nginx by calling the Nginx binary.
Use -v parameter to display the Nginx version only
nginx -v
Use the -V parameter to display the version with more details about the compiler package
nginx -V
Output sample
![](https://ddnbgroup.s3.ap-northeast-1.amazonaws.com/wp-content/uploads/sites/9/2020/12/03221709/Screen-Shot-2020-12-03-at-20.42.07-1024x246.png)