Drupal 8
Install
To start a new Drupal project with version 8.0.0:
composer create-project drupal/recommended-project:8.0.0 “install-dir”
To update your site and all dependencies to the latest version of Drupal:
composer update “drupal/core-*” --with-all-dependencies
To update your site to this specific release:
composer require drupal/core-recommended:8.0.0 drupal/core-composer-scaffold:8.0.0 drupal/core-project-message:8.0.0 --update-with-all-dependencies
Pinning to a specific release may make it more challenging to update your site in future, see composer documentation for managing pinned versions