Unlock Hidden Powers: Transform Your WordPress Workflow with WP-CLI Today!

Unlock Hidden Powers: Transform Your WordPress Workflow with WP-CLI Today!
wp theme activate twentytwenty
WP-CLI-wp-theme-activate

wp theme install

Like plugins, you can install themes from the command line. 

If you want to install a theme from the WordPress Theme Directory, you’ll need to use its slug. 

Like plugins, the slug is in the URL of the theme’s page in the WordPress Theme Directory. 

For example, if you want to install the Hello Biz theme, you need to enter its name as hello-biz based on its slug.

wp theme install hello-biz
WP-CLI-wp-theme-install

If you want to activate the theme after installing it, add the –activate flag:

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38