drupal-8.4.5$ ls
LICENSE.txt composer.lock modules themes
README.txt core profiles update.php
autoload.php example.gitignore robots.txt vendor
composer.json index.php
$ curl https://drupalconsole.com/installer -L -o drupal.phar
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 704k 100 704k 0 0 364k 0 0:00:01 0:00:01 --:--:-- 364k
$ ls -al
total 1888
drwxr-xr-x 25 anisur staff 800 Feb 28 18:57 .
drwxr-xr-x 20 anisur staff 640 Feb 28 18:49 ..
-rw-r--r-- 1 anisur staff 1025 Feb 20 16:35 .csslintrc
-rw-r--r-- 1 anisur staff 357 Feb 20 16:35 .editorconfig
-rw-r--r-- 1 anisur staff 151 Feb 20 16:35 .eslintignore
-rw-r--r-- 1 anisur staff 41 Feb 20 16:35 .eslintrc.json
-rw-r--r-- 1 anisur staff 3858 Feb 20 16:35 .gitattributes
-rw-r--r-- 1 anisur staff 7866 Feb 20 16:35 .htaccess
-rw-r--r-- 1 anisur staff 18092 Nov 16 2016 LICENSE.txt
-rw-r--r-- 1 anisur staff 5889 Feb 20 16:35 README.txt
-rw-r--r-- 1 anisur staff 262 Feb 20 16:35 autoload.php
-rw-r--r-- 1 anisur staff 2247 Feb 20 16:35 composer.json
-rw-r--r-- 1 anisur staff 150618 Feb 20 16:35 composer.lock
drwxr-xr-x 39 anisur staff 1248 Feb 20 16:35 core
-rw-r--r-- 1 anisur staff 721919 Feb 28 18:57 drupal.phar
-rw-r--r-- 1 anisur staff 1272 Feb 20 16:35 example.gitignore
-rw-r--r-- 1 anisur staff 549 Feb 20 16:35 index.php
drwxr-xr-x 3 anisur staff 96 Feb 20 16:35 modules
drwxr-xr-x 3 anisur staff 96 Feb 20 16:35 profiles
-rw-r--r-- 1 anisur staff 1596 Feb 20 16:35 robots.txt
drwxrwxrwx 9 anisur staff 288 Feb 28 18:48 sites
drwxr-xr-x 3 anisur staff 96 Feb 20 16:35 themes
-rw-r--r-- 1 anisur staff 848 Feb 20 16:35 update.php
drwxr-xr-x 20 anisur staff 640 Feb 21 12:42 vendor
-rw-r--r-- 1 anisur staff 4555 Feb 20 16:35 web.config
$ composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
$ drupal list
$ drupal cc all
Rebuilding cache(s), wait a moment please.
[OK] Done clearing cache(s).
$ drupal cr all
Rebuilding cache(s), wait a moment please.
[OK] Done clearing cache(s).
theme:
theme:download (thd)
theme:install (thi)
theme:path (thp)
theme:uninstall (thu)
$ drupal thd bootstrap
Getting releases for theme "bootstrap"
Please select your favorite release:
[0 ] 8.x-3.10
[1 ] 8.x-3.9
[2 ] 8.x-3.8
[3 ] 8.x-3.7
[4 ] 8.x-3.6
[5 ] 8.x-3.5
[6 ] 8.x-3.4
[7 ] 8.x-3.3
[8 ] 8.x-3.2
[9 ] 8.x-3.1
[10] 8.x-3.0
[11] 8.x-3.0-rc2
[12] 8.x-3.0-rc1
[13] 8.x-3.0-beta3
[14] 8.x-3.0-beta2
> 0
Downloading theme "bootstrap" release "8.x-3.9"
[OK] Theme "bootstrap" version "8.x-3.9" was downloaded successfully at
"/Users/anisur/Sites/devdesktop/drupal-8.4.5/themes/bootstrap"
$ drupal thi bootstrap
The "Bootstrap" theme has been installed successfully
// cache:rebuild
Rebuilding cache(s), wait a moment please.
[OK] Done clearing cache(s).
$ drupal thi bootstrap --set-default
The "Bootstrap" theme has been installed successfully as default theme
// cache:rebuild
Rebuilding cache(s), wait a moment please.
[OK] Done clearing cache(s).
$ drupal thu bartik
The "Bartik" theme has been uninstalled successfully
// cache:rebuild
Rebuilding cache(s), wait a moment please.
[OK] Done clearing cache(s).
$ drupal theme:path bootstrap
themes/bootstrap
$ drupal thu bartik
The "Bartik" theme has been uninstalled successfully
// cache:rebuild
Rebuilding cache(s), wait a moment please.
[OK] Done clearing cache(s).