How to Install Magento 2 Sample data via Composer and Command Line (CLI) ?

In the recent post I have described how you can install and setup the Magento 2 via composer and command line (CLI), now in this post I am just describing how we can install the Magento 2 Sample data although this is optional but if anyone wants to install

How to Install Magento 2 via Composer and Command Line (CLI) ?

For installing Magento 2 you can follow the Manual method or by using the Composer and command line to for manual method just download Magento2 from the Magento website (https://magento.com/tech-resources/download) and by uploading on your server you can do it by hitting the url directory in the post/article I