Step 1
Make sure that you have composer installed and upgrade it if you have to.
Something like that will do it on a Ubuntu platform
sudo apt-get install composer
Step 2
run the following command:
composer global require drupal/console:@stable
Step 3
Create your Drupal Folder
mkdir new_foler cd new_folder
Step 4
composer create-project \ drupal-composer/drupal-project:8.x-dev new_foler \ --prefer-dist \ --no-progress \ --no-interaction