Magento 2 introduced some useful commands. Using these command we can easily flush cache, re-index data ,enable/disable modules and lots more .
Below listed some useful commands for magento 2 version .
Before using this command you should have composer installed on your system .
Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.
Download and run Composer-Setup.exe from https://getcomposer.org/Composer-Setup.exe if you don't have installed it .
It will install the latest Composer version and set up your PATH so that you can just call composer from any directory in your command line.