{"id":4257,"date":"2017-12-14T03:24:20","date_gmt":"2017-12-14T03:24:20","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2017\/12\/14\/install-wordpress-using-wp-cli\/"},"modified":"2024-03-11T16:43:02","modified_gmt":"2024-03-11T20:43:02","slug":"install-wordpress-using-wp-cli","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/","title":{"rendered":"Install WordPress Using WP-CLI"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI-1024x538.png\" alt=\"Install WordPress Using WP-CLI Hero Image\" class=\"wp-image-105524\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><strong>WP-CLI<\/strong>, <em>WordPress Command Line Interface<\/em>, is a powerful set of tools, available with <a href=\"https:\/\/inmotionhosting.com\/wordpress-hosting\">WordPress Hosting<\/a> at InMotion. WP-CLI commands allow you to perform common WordPress management tasks via the command line. One great example is the ability to completely <strong>install WordPress from the command line<\/strong>, which saves time compared to the <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/installing-wordpress-manually\/\">manual option<\/a>. In this guide, you will learn how to use WP-CLI to setup a new WordPress website from the command line.<\/p>\n\n\n\n<div class=\"alert alert-danger\" role=\"alert\"><b>NOTE: <\/b>Due to the way cPanel manages databases, if you create a WordPress database using WP-CLI, your database will not be accessible. Therefore, you will need to <a title=\"Click here to navigate to our guide and learn how to create a MySQL Database in cPanel.\" href=\"\/support\/website\/create-database\/\" target=\"_blank\" rel=\"noopener\">create a MySQL Database in cPanel<\/a>. Then, <a title=\"Click here to navigate to our guide and learn how to create a MySQL database user and assign it all privaleges to access a database in cPanel.\" href=\"\/support\/edu\/cpanel\/create-database-user\/\" target=\"_blank\" rel=\"noopener\">create a MySQL database user and assign that user all privileges to access it<\/a>.<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Install WordPress<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\n<p><a title=\"Click here to navigate to our guide and learn how to SSH into your server.\" href=\"\/support\/server\/ssh\/shared-reseller-ssh\/\" target=\"_blank\" rel=\"noopener\">SSH into your server<\/a> as the cPanel user that owns the website you are installing WordPress on.<\/p>\n<\/li>\n\n\n\n<li>\n<p>Use the <span class=\"cli\">cd<\/span> command to switch to the <a title=\"Click here to navigate to our guide and learn how to find the document root directory of your website.\" href=\"\/support\/website\/where-to-upload-files\/\" target=\"_blank\" rel=\"noopener\">document root directory of your website<\/a>.<\/p>\n<p>Example: <span class=\"cli\">cd <b>public_html\/my_website<\/b><\/span><\/p>\n<p>NOTE: Be sure to replace <span class=\"cli\"><b>public_html\/my_website<\/b><\/span> with the actual path to the document root directory of your website.<\/p>\n<\/li>\n\n\n\n<li>\n<p>Run the following command to download WordPress (into the document root directory you are in):<\/p>\n<p><span class=\"cli\">wp core download<\/span><\/p>\n<\/li>\n\n\n\n<li>\n<p>Run the following command to configure WordPress:<\/p>\n<p><span class=\"cli\">wp core config \u2013prompt<\/span><\/p>\n<p>Refer to the table below for a description of the values you will enter when prompted.<\/p>\n<table class=\"table table-striped table-bordered\">\n<tbody>\n<tr>\n<th>Prompt<\/th>\n<th>Description<\/th>\n<th>Value<\/th>\n<\/tr>\n<tr>\n<th>1\/11 dbname: *<\/th>\n<td>Enter the name of the MySQL database created<\/td>\n<td><b>exampl3_wp<\/b><\/td>\n<\/tr>\n<tr>\n<th>2\/11 dbuser: *<\/th>\n<td>Enter the name of the MySQL database user created<\/td>\n<td><b>exampl3_wp<\/b><\/td>\n<\/tr>\n<tr>\n<th>3\/11 dbpass: *<\/th>\n<td>Enter the password created for the database user<\/td>\n<td><b>DBp@s$w0rd123!<\/b><\/td>\n<\/tr>\n<tr>\n<th>4\/11 dbhost:<\/th>\n<td>Enter the hostname of the MySQL database server<\/td>\n<td>\u00a0<\/td>\n<\/tr>\n<tr>\n<th>5\/11 dbprefix:<\/th>\n<td>Enter the prefix to use in the MySQL database structure<\/td>\n<td>\u00a0<\/td>\n<\/tr>\n<tr>\n<th>6\/11 dbcharset:<\/th>\n<td>Enter the database character set<\/td>\n<td>\u00a0<\/td>\n<\/tr>\n<tr>\n<th>7\/11 dbcollate:<\/th>\n<td>Enter the database collation<\/td>\n<td>\u00a0<\/td>\n<\/tr>\n<tr>\n<th>8\/11 locale:<\/th>\n<td>Enter the WPLANG constant<\/td>\n<td>\u00a0<\/td>\n<\/tr>\n<tr>\n<th>9\/11 extra-php (Y\/n): *<\/th>\n<td>Enter <i>Y<\/i> to add any PHP code from STDIN or <i>n<\/i> to skip<\/td>\n<td><b>n<\/b><\/td>\n<\/tr>\n<tr>\n<th>10\/11 skip-salts (Y\/n): *<\/th>\n<td>Enter <i>Y<\/i> to generate or <i>n<\/i> to skip generating keys and salts<\/td>\n<td><b>n<\/b><\/td>\n<\/tr>\n<tr>\n<th>11\/11 skip-check (Y\/n): *<\/th>\n<td>Enter <i>Y<\/i> test or <i>n<\/i> to skip testing the database connection<\/td>\n<td><b>n<\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Simply type in your custom value and then press the <i>Enter<\/i> key to proceed through each prompt.<\/p>\n<div class=\"alert alert-info\" role=\"alert\"><b>NOTE: <\/b>The values in the table are the values used for our example, when writing this guide. Some values are left blank intentionally. In this case, the default configuration will be used. Be sure to use your own custom values. To use a default value, simply press the <i>Enter<\/i> key (without entering data) to proceed through the prompts. Prompts in the table marked with an asterisk (*) require a custom value (you can not leave these fields blank).<\/div>\n<\/li>\n\n\n\n<li>\n<p>Run the following command to install WordPress:<\/p>\n<p><span class=\"cli\">wp core install \u2013prompt<\/span><\/p>\n<p>Refer to the table below for a description of the values you will enter when prompted.<\/p>\n<table class=\"table table-striped table-bordered\">\n<tbody>\n<tr>\n<th>Prompt<\/th>\n<th>Description<\/th>\n<th>Value<\/th>\n<\/tr>\n<tr>\n<th>1\/6 url:<\/th>\n<td>Enter the URL for your website<\/td>\n<td><b>example.com<\/b><\/td>\n<\/tr>\n<tr>\n<th>2\/6 title:<\/th>\n<td>Enter the site title for your website<\/td>\n<td><b>WPCLI Example Site<\/b><\/td>\n<\/tr>\n<tr>\n<th>3\/6 admin_user:<\/th>\n<td>Enter the administrator username<\/td>\n<td><b>exampl3_wpadmin<\/b><\/td>\n<\/tr>\n<tr>\n<th>4\/6 admin_password:<\/th>\n<td>Enter the administrator password<\/td>\n<td><b>@DM|Np@s$w0rd123!<\/b><\/td>\n<\/tr>\n<tr>\n<th>5\/6 admin_email:<\/th>\n<td>Enter the email address for the administrator<\/td>\n<td><b>wpadmin@example.com<\/b><\/td>\n<\/tr>\n<tr>\n<th>6\/6 skip-email (Y\/n):<\/th>\n<td>Enter <i>Y<\/i> to email or <i>n<\/i> to skip emailing the admin details<\/td>\n<td><b>Y<\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Simply type in your chosen value and then press the <i>Enter<\/i> key to proceed through each prompt.<\/p>\n<div class=\"alert alert-info\" role=\"alert\"><b>NOTE: <\/b>The values in the table are the values used for our example, when writing this guide. Be sure to use your own custom values. All prompts require custom values (you can not leave any fields blank).<\/div>\n<\/li>\n<\/ol>\n\n\n\n<p>Congratulations! You now know how to install WordPress from the command line, using WP-CLI.\u00a0<\/p>\n\n\n<p>Learn more about <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/\">WP-CLI<\/a>, the command-line interface for WordPress, and how to streamline your WordPress maintenance workflows!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WP-CLI, WordPress Command Line Interface, is a powerful set of tools, available with WordPress Hosting at InMotion. WP-CLI commands allow you to perform common WordPress management tasks via the command line. One great example is the ability to completely install WordPress from the command line, which saves time compared to the manual option. In this<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4374],"tags":[],"class_list":["post-4257","post","type-post","status-publish","format-standard","hentry","category-wp-cli"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install WordPress Using WP-CLI | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this guide, you will learn how to use WP-CLI to install and configure a new WordPress website via the command line.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install WordPress Using WP-CLI | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this guide, you will learn how to use WP-CLI to install and configure a new WordPress website via the command line.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-14T03:24:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-11T20:43:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI-1024x538.png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Install WordPress Using WP-CLI\",\"datePublished\":\"2017-12-14T03:24:20+00:00\",\"dateModified\":\"2024-03-11T20:43:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/\"},\"wordCount\":621,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI-1024x538.png\",\"articleSection\":[\"WP-CLI\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/\",\"name\":\"Install WordPress Using WP-CLI | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI-1024x538.png\",\"datePublished\":\"2017-12-14T03:24:20+00:00\",\"dateModified\":\"2024-03-11T20:43:02+00:00\",\"description\":\"In this guide, you will learn how to use WP-CLI to install and configure a new WordPress website via the command line.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install WordPress Using WP-CLI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install WordPress Using WP-CLI | InMotion Hosting","description":"In this guide, you will learn how to use WP-CLI to install and configure a new WordPress website via the command line.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/","og_locale":"en_US","og_type":"article","og_title":"Install WordPress Using WP-CLI | InMotion Hosting","og_description":"In this guide, you will learn how to use WP-CLI to install and configure a new WordPress website via the command line.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2017-12-14T03:24:20+00:00","article_modified_time":"2024-03-11T20:43:02+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI-1024x538.png","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Install WordPress Using WP-CLI","datePublished":"2017-12-14T03:24:20+00:00","dateModified":"2024-03-11T20:43:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/"},"wordCount":621,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI-1024x538.png","articleSection":["WP-CLI"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/","name":"Install WordPress Using WP-CLI | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI-1024x538.png","datePublished":"2017-12-14T03:24:20+00:00","dateModified":"2024-03-11T20:43:02+00:00","description":"In this guide, you will learn how to use WP-CLI to install and configure a new WordPress website via the command line.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/07\/Install-WordPress-using-WP-CLI.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/install-wordpress-using-wp-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Install WordPress Using WP-CLI"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4374,"name":"WP-CLI","slug":"wp-cli","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/wp-cli\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4257"}],"version-history":[{"count":6,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4257\/revisions"}],"predecessor-version":[{"id":109004,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4257\/revisions\/109004"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}