{"id":4643,"date":"2026-01-28T03:03:35","date_gmt":"2026-01-28T03:03:35","guid":{"rendered":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wordpress-studio-1-7-0-meet-the-new-studio-cli\/"},"modified":"2026-01-28T03:03:36","modified_gmt":"2026-01-28T03:03:36","slug":"wordpress-studio-1-7-0-meet-the-new-studio-cli","status":"publish","type":"post","link":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wordpress-studio-1-7-0-meet-the-new-studio-cli\/","title":{"rendered":"WordPress Studio 1.7.0: Meet the New Studio CLI"},"content":{"rendered":"<p><\/p>\n<div id=\"wpblog-post-body\">\n<p class=\"wp-block-paragraph\">Model 1.7.0 of WordPress Studio is a big improve for someone development WordPress websites in the community, particularly builders and gear customers who love to automate duties and paintings from the terminal.<\/p>\n<p class=\"wp-block-paragraph\">In previous releases, the Studio CLI centered principally on developing and managing preview websites.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">With model two, it turns into a full-featured command-line significant other for a lot of your Studio workflow, together with developing and managing native websites, operating WP-CLI in the proper context, connecting to WordPress.com, and extra.<\/p>\n<p class=\"wp-block-paragraph\">On this put up, we\u2019ll overview what\u2019s new and percentage sensible techniques to include the Studio CLI into AI-assisted workflows.\u00a0<\/p>\n<p class=\"has-primary-light-background-color has-background wp-block-paragraph\">For the whole command reference and complex choices, see the up to date Studio CLI documentation incorporated with this liberate.<\/p>\n<h2 class=\"wp-block-heading\">What&#8217;s a CLI?<\/h2>\n<p class=\"wp-block-paragraph\">A CLI (command-line interface) allows you to keep an eye on gear and programs by means of typing instructions right into a terminal, as an alternative of clicking via menus. Builders have a tendency to love CLIs as a result of they\u2019re:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>Speedy:<\/strong> Spin up, exchange, or take away environments with a unmarried command<\/li>\n<li><strong>Repeatable: <\/strong>Run the similar instructions on any device, or bake them into scripts<\/li>\n<li><strong>Automatable: <\/strong>Let construct techniques and AI brokers run instructions for you<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">Despite the fact that you don\u2019t usually paintings within the terminal, the Studio CLI remains to be price taking note of.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">It\u2019s the typical \u201clanguage\u201d automation gear can use to have interaction with Studio. As soon as it\u2019s enabled, your editor, scripts, or AI coding assistants can do such things as create a brand new website, run database upgrades, or submit a preview with out you having to navigate via more than one monitors within the Studio utility.<\/p>\n<h2 class=\"wp-block-heading\">Getting began with the Studio CLI<\/h2>\n<p class=\"wp-block-paragraph\">To start the usage of the Studio CLI, whole the next steps:<\/p>\n<ol class=\"wp-block-list\">\n<li>Open the <strong>WordPress Studio<\/strong> utility to your device.<\/li>\n<li>From the principle menu, open the <strong>Settings<\/strong> modal. You&#8217;ll be able to additionally click on the equipment icon within the top-right nook of the app.<\/li>\n<li>Permit the <strong>Studio CLI<\/strong> possibility and click on <strong>Save<\/strong>.<\/li>\n<li>On macOS, you\u2019ll be brought about on your laptop password to permit set up.<\/li>\n<\/ol>\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" data-attachment-id=\"83246\" data-permalink=\"https:\/\/wordpress.com\/blog\/2026\/01\/27\/wordpress-studio-1-7-0-new-studio-cli\/studio-enable-cli\/\" data-orig-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-enable-cli.jpg\" data-orig-size=\"2170,1666\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"studio-enable-cli\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-enable-cli.jpg?w=300\" data-large-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-enable-cli.jpg?w=1024\" width=\"2170\" height=\"1666\" src=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-enable-cli.jpg\" alt=\"Screenshot of Studio settings.\" class=\"wp-image-83246\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-enable-cli.jpg 2170w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-enable-cli.jpg?w=150&amp;h=115 150w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-enable-cli.jpg?w=300&amp;h=230 300w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-enable-cli.jpg?w=768&amp;h=590 768w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-enable-cli.jpg?w=1024&amp;h=786 1024w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-enable-cli.jpg?w=1440&amp;h=1106 1440w\" sizes=\"(max-width: 2170px) 100vw, 2170px\"\/><\/figure>\n<p class=\"wp-block-paragraph\">As soon as the Studio CLI is enabled, you&#8217;ll have get admission to to a world <code>studio <\/code>command out of your most well-liked terminal utility:<\/p>\n<p class=\"wp-block-paragraph\">In Studio 1.7.0, the CLI now covers 4 major spaces:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>Authentication: <\/strong>Arrange your WordPress.com account for options that require it<\/li>\n<li><strong>Preview websites:<\/strong> Create and replace WordPress.com hosted preview websites<\/li>\n<li><strong>Native website control:<\/strong> Create, get started, prevent, configure, and delete Studio-managed native websites<\/li>\n<li><strong>WP-CLI integration:<\/strong> Run WP-CLI instructions within as it should be configured Studio environments, with out putting in WP-CLI your self<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">You&#8217;ll be able to see an summary at any time by means of operating <code>studio --help<\/code>:<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-attachment-id=\"83249\" data-permalink=\"https:\/\/wordpress.com\/blog\/2026\/01\/27\/wordpress-studio-1-7-0-new-studio-cli\/studio-ai-studio-help\/\" data-orig-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-studio-help.jpg\" data-orig-size=\"1508,692\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"studio-ai-studio-help\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-studio-help.jpg?w=300\" data-large-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-studio-help.jpg?w=1024\" width=\"1508\" height=\"692\" src=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-studio-help.jpg\" alt=\"Screenshot of WordPress Studio CLI\" class=\"wp-image-83249\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-studio-help.jpg 1508w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-studio-help.jpg?w=150&amp;h=69 150w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-studio-help.jpg?w=300&amp;h=138 300w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-studio-help.jpg?w=768&amp;h=352 768w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-studio-help.jpg?w=1024&amp;h=470 1024w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-studio-help.jpg?w=1440&amp;h=661 1440w\" sizes=\"(max-width: 1508px) 100vw, 1508px\"\/><\/figure>\n<p class=\"wp-block-paragraph\">Maximum instructions are designed to be run from the basis folder of a Studio-managed website.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">For fast get admission to, you&#8217;ll open that folder without delay on your terminal by means of clicking the <strong>Terminal<\/strong> button at the website\u2019s <strong>Evaluate<\/strong> tab.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-attachment-id=\"83251\" data-permalink=\"https:\/\/wordpress.com\/blog\/2026\/01\/27\/wordpress-studio-1-7-0-new-studio-cli\/studio-cli-terminal-button\/\" data-orig-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-cli-terminal-button.jpg\" data-orig-size=\"2170,1666\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"studio-cli-terminal-button\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-cli-terminal-button.jpg?w=300\" data-large-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-cli-terminal-button.jpg?w=1024\" width=\"2170\" height=\"1666\" src=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-cli-terminal-button.jpg\" alt=\"Screenshot of WordPress Studio Overview screen.\" class=\"wp-image-83251\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-cli-terminal-button.jpg 2170w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-cli-terminal-button.jpg?w=150&amp;h=115 150w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-cli-terminal-button.jpg?w=300&amp;h=230 300w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-cli-terminal-button.jpg?w=768&amp;h=590 768w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-cli-terminal-button.jpg?w=1024&amp;h=786 1024w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-cli-terminal-button.jpg?w=1440&amp;h=1106 1440w\" sizes=\"(max-width: 2170px) 100vw, 2170px\"\/><\/figure>\n<h2 class=\"wp-block-heading\">Managing native Studio websites<\/h2>\n<p class=\"wp-block-paragraph\">Probably the most greatest upgrades in Studio CLI v2 is end-to-end native website control from the terminal.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Relatively than switching again to the Studio consumer interface for regimen duties, you&#8217;ll create a website, verify its standing, get started or prevent it, and blank it up whilst you\u2019re completed.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">It\u2019s a sooner day by day workflow, and it additionally makes automation a lot more uncomplicated, whether or not you\u2019re writing scripts your self or the usage of an AI agent to do it for you.<\/p>\n<p class=\"wp-block-paragraph\">On the heart of all of it is the <code>studio website<\/code> command. The to be had choices come with:<\/p>\n<h3 class=\"wp-block-heading\">Create native websites with a unmarried command<\/h3>\n<p class=\"wp-block-paragraph\">Use <code>studio website create<\/code> to spin up a brand new website on your present listing or at a particular trail. Listed here are a couple of examples of what you&#8217;ll do:<\/p>\n<p class=\"wp-block-paragraph\">The CLI will:<\/p>\n<ul class=\"wp-block-list\">\n<li>Arrange an area WordPress atmosphere.<\/li>\n<li>Get started the WordPress server.<\/li>\n<li>Open WP Admin on your browser when it&#8217;s in a position.<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">You&#8217;ll be able to run this from an empty folder, or from a listing that already incorporates a WordPress website that&#8217;s not but registered throughout the Studio app.<\/p>\n<h3 class=\"wp-block-heading\">Listing, check up on, get started, and prevent native websites<\/h3>\n<p class=\"wp-block-paragraph\">When you&#8217;re running with more than one native websites, the `record` and `standing` instructions make control a lot more uncomplicated:<\/p>\n<p class=\"wp-block-paragraph\">Standing output comprises:<\/p>\n<ul class=\"wp-block-list\">\n<li>Whether or not the website is operating<\/li>\n<li>The native URL, for instance <code>http:\/\/localhost:PORT<\/code><\/li>\n<li>Key configuration main points equivalent to PHP model and login knowledge<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">Beginning and preventing websites may be simple:<\/p>\n<p class=\"wp-block-paragraph\">This works smartly in scripts that want to get started a website, run exams or content material operations, after which prevent it once more.<\/p>\n<h3 class=\"wp-block-heading\">Delete and configure websites safely<\/h3>\n<p class=\"wp-block-paragraph\">When you&#8217;re completed with a undertaking, you&#8217;ll take away it from Studio and, if wanted, delete all of the related recordsdata out of your device with the next instructions:<\/p>\n<p class=\"wp-block-paragraph\">For configuration adjustments, <code>studio website set<\/code> allows you to modify settings for a particular native website:<\/p>\n<p class=\"wp-block-paragraph\">You&#8217;ll be able to, for instance:<\/p>\n<ul class=\"wp-block-list\">\n<li>Exchange the PHP or WordPress model.<\/li>\n<li>Replace the native area or port.<\/li>\n<li>Toggle options that have an effect on how the native atmosphere runs.<\/li>\n<\/ul>\n<p class=\"has-primary-light-background-color has-background wp-block-paragraph\"><strong>Tip: <\/strong>Run <code>studio website set --help<\/code> for the whole record of to be had choices.<\/p>\n<h2 class=\"wp-block-heading\">Authentication from the terminal<\/h2>\n<p class=\"wp-block-paragraph\">Some Studio options, equivalent to developing or updating preview websites, require a logged-in WordPress.com account.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Studio CLI v2 will provide you with devoted <code>studio auth<\/code> instructions so you&#8217;ll organize this from the terminal:<\/p>\n<ul class=\"wp-block-list\">\n<li><code>studio auth login<\/code> launches a browser waft and will provide you with a token to stick again into your terminal to finish the login.<\/li>\n<li><code>studio auth standing<\/code> tells you whether or not you&#8217;re authenticated and which account is lively.<\/li>\n<li><code>studio auth logout<\/code> disconnects the CLI out of your WordPress.com account and clears saved credentials.<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">If you happen to run a command that wishes authentication whilst logged out, equivalent to <code>studio preview create<\/code> that we can overview subsequent, the CLI will information you to log in.<\/p>\n<h2 class=\"wp-block-heading\">Preview websites from the CLI<\/h2>\n<p class=\"wp-block-paragraph\">Preview websites are transient, shareable environments hosted on WordPress.com that replicate your native Studio website. They are perfect for sharing paintings with others who shouldn&#8217;t have an area atmosphere.<\/p>\n<p class=\"wp-block-paragraph\">The CLI supplies an entire set of instructions:<\/p>\n<p class=\"has-primary-light-background-color has-background wp-block-paragraph\"><strong>Tip<\/strong>: Run <code>studio preview record<\/code> to peer all previews related along with your WordPress.com account, then use the host price from that output with <code>studio preview replace<\/code> or <code>studio preview delete<\/code>.<\/p>\n<h2 class=\"wp-block-heading\">Integrated WP-CLI, configured for you<\/h2>\n<p class=\"wp-block-paragraph\">WP-CLI is the legitimate command-line interface for WordPress itself. Studio CLI v2 integrates it without delay via a devoted <code>studio wp<\/code> command, so you don&#8217;t want to put in or configure WP-CLI by yourself:<\/p>\n<p class=\"wp-block-paragraph\">Out of your website\u2019s root listing, you&#8217;ll run not unusual WP-CLI duties like:<\/p>\n<ul class=\"wp-block-list\">\n<li><code><strong>studio wp core model<\/strong><\/code> presentations the WordPress model for the present website.<\/li>\n<li><code><strong>studio wp plugin record<\/strong><\/code> lists put in plugins (and their standing).<\/li>\n<li><code><strong>studio wp core update-db<\/strong><\/code> runs any required database updates after a WordPress replace.<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">Studio units the surroundings variables, paths, and credentials for you, so those instructions run in opposition to the right kind database and recordsdata without a additional setup.<\/p>\n<h2 class=\"wp-block-heading\">The use of Studio CLI with AI coding gear<\/h2>\n<p class=\"wp-block-paragraph\">Probably the most greatest benefits of Studio CLI v2 is how naturally it suits into AI-assisted construction workflows, particularly with gear like Claude Code and Cursor.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Those brokers learn the code on your native undertaking (together with issues and plugins) and run instructions on your atmosphere, which makes it conceivable to dump a lot of the repetitive paintings. For instance, they may be able to:<\/p>\n<ul class=\"wp-block-list\">\n<li>Use <code>studio website<\/code> instructions to create, get started, prevent, and organize native environments.<\/li>\n<li>Run <code>studio wp<\/code> for diagnostics, database duties, and content material control.<\/li>\n<li>Create and replace WordPress.com preview websites for overview with out leaving your editor.<\/li>\n<\/ul>\n<h3 class=\"wp-block-heading\">Supply context<\/h3>\n<p class=\"wp-block-paragraph\">The AI software you\u2019re the usage of would possibly not routinely perceive WordPress Studio or the Studio CLI. To get helpful effects, get started by means of giving the AI agent a little of context about what it\u2019s taking a look at and what gear it might probably use.<\/p>\n<p class=\"wp-block-paragraph\">For instance, consider you\u2019ve opened an area Studio website folder on your terminal.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Start by means of telling the AI agent what this listing is, and that it might probably run the Studio CLI.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">On this instance, we\u2019ll use Claude Code and explicitly notice that it might probably invoke the CLI by means of <code>studio<\/code>.<\/p>\n<p class=\"has-primary-light-background-color has-background wp-block-paragraph\">\u201cThat is the folder for a WordPress Studio website. You&#8217;ve got get admission to to the Studio CLI, which may also be invoked by means of operating <code>studio<\/code>. Get started by means of exploring the to be had choices.\u201d<\/p>\n<p class=\"wp-block-paragraph\">From there, you must get a reaction that appears like this:<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"83255\" data-permalink=\"https:\/\/wordpress.com\/blog\/2026\/01\/27\/wordpress-studio-1-7-0-new-studio-cli\/wordpress-studio-cli\/\" data-orig-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli.jpg\" data-orig-size=\"1524,1600\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"WordPress Studio CLI\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli.jpg?w=286\" data-large-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli.jpg?w=975\" loading=\"lazy\" width=\"1524\" height=\"1600\" src=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli.jpg\" alt=\"Screenshot of WordPress Studio CLI output.\" class=\"wp-image-83255\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli.jpg 1524w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli.jpg?w=143&amp;h=150 143w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli.jpg?w=286&amp;h=300 286w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli.jpg?w=768&amp;h=806 768w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli.jpg?w=975&amp;h=1024 975w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli.jpg?w=1440&amp;h=1512 1440w\" sizes=\"auto, (max-width: 1524px) 100vw, 1524px\"\/><\/figure>\n<p class=\"wp-block-paragraph\">With a easy recommended, the AI now has a forged working out of the Studio CLI. This case was once generated the usage of Opus 4.5.<\/p>\n<h3 class=\"wp-block-heading\">Automate atmosphere setup<\/h3>\n<p class=\"wp-block-paragraph\">As soon as the AI understands what Studio can do, you&#8217;ll get started handing off regimen setup duties. For example, chances are you&#8217;ll inform your agent:<\/p>\n<p class=\"has-primary-light-background-color has-background wp-block-paragraph\">\u201cArrange a brand new native WordPress website the usage of Studio with the title \u201cNick\u2019s Website online\u201d\u201d<\/p>\n<p class=\"wp-block-paragraph\">At the back of the scenes, it is going to run one thing like:<\/p>\n<p class=\"wp-block-paragraph\">Right here\u2019s an instance of the output from Claude Code, once more the usage of Opus 4.5.<\/p>\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69797c87988cc&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69797c87988cc\" class=\"wp-block-image size-full wp-lightbox-container\"><img decoding=\"async\" data-attachment-id=\"83256\" data-permalink=\"https:\/\/wordpress.com\/blog\/2026\/01\/27\/wordpress-studio-1-7-0-new-studio-cli\/wordpress-studio-cli-create-new-site\/\" data-orig-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli-create-new-site.jpg\" data-orig-size=\"1574,1168\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"WordPress Studio CLI Create New Site\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli-create-new-site.jpg?w=300\" data-large-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli-create-new-site.jpg?w=1024\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/wordpress-studio-cli-create-new-site.jpg\" alt=\"Screenshot of WordPress Studio CLI New Site Creation command.\" class=\"wp-image-83256\" style=\"box-shadow:var(--wp--preset--shadow--natural)\"\/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"\/>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<h3 class=\"wp-block-heading\">Debugging and verification with WP-CLI<\/h3>\n<p class=\"wp-block-paragraph\">Studio additionally makes it simple to troubleshoot problems the usage of WP-CLI \u2014 particularly whilst you\u2019re gazing an error and don\u2019t wish to manually search out the reason.<\/p>\n<p class=\"wp-block-paragraph\">You could say:<\/p>\n<p class=\"has-primary-light-background-color has-background wp-block-paragraph\">\u201cUse the Studio CLI to run WP-CLI assessments and determine why this website is failing, then suggest fixes.\u201d<\/p>\n<p class=\"wp-block-paragraph\">From there, the agent can:<\/p>\n<ul class=\"wp-block-list\">\n<li>Run <code>studio wp<\/code> instructions (for instance, <code>plugin record<\/code>, <code>theme record<\/code>, or <code>core update-db<\/code>) to gather diagnostics.<\/li>\n<li>Recommend (or follow) code and configuration adjustments in line with what it unearths.<\/li>\n<li>Re-run the similar WP-CLI assessments to verify the problem is resolved.<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">If you happen to haven\u2019t already, take a look at this nice evaluation of WP-CLI to get a way of what it might probably do.<\/p>\n<h3 class=\"wp-block-heading\">Growing preview websites<\/h3>\n<p class=\"wp-block-paragraph\">Preview websites are probably the most in style options in WordPress Studio, however developing them and holding them up to date can really feel a little tedious for those who\u2019re doing it throughout the Studio consumer interface.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">The CLI streamlines the workflow, and it turns into even more uncomplicated whilst you pair it with an AI agent.<\/p>\n<p class=\"wp-block-paragraph\">While you\u2019re in a position to percentage your paintings with a consumer or teammate, you&#8217;ll merely ask your AI to create a preview website:<\/p>\n<p class=\"has-primary-light-background-color has-background wp-block-paragraph\">\u201cAre you able to spin up a preview website for me?\u201d<\/p>\n<p class=\"wp-block-paragraph\">If you happen to\u2019re now not already authenticated, the agent will recommended you to log in, then it is going to create the preview and go back the URL. The output must glance one thing like this:<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"83257\" data-permalink=\"https:\/\/wordpress.com\/blog\/2026\/01\/27\/wordpress-studio-1-7-0-new-studio-cli\/studio-ai-create-preview-2\/\" data-orig-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-create-preview-1.jpg\" data-orig-size=\"1460,812\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"studio-ai-create-preview\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-create-preview-1.jpg?w=300\" data-large-file=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-create-preview-1.jpg?w=1024\" loading=\"lazy\" width=\"1460\" height=\"812\" src=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-create-preview-1.jpg\" alt=\"Screenshot of WordPress Studio CLI create preview site command.\" class=\"wp-image-83257\" style=\"box-shadow:var(--wp--preset--shadow--natural)\" srcset=\"https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-create-preview-1.jpg 1460w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-create-preview-1.jpg?w=150&amp;h=83 150w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-create-preview-1.jpg?w=300&amp;h=167 300w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-create-preview-1.jpg?w=768&amp;h=427 768w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-create-preview-1.jpg?w=1024&amp;h=570 1024w, https:\/\/en-blog.files.wordpress.com\/2026\/01\/studio-ai-create-preview-1.jpg?w=1440&amp;h=801 1440w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\"\/><\/figure>\n<p class=\"wp-block-paragraph\">As you proceed running in the community, you&#8217;ll periodically ask the agent to replace the preview website.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">If you happen to\u2019re additionally the usage of the AI to assist construct the website, theme, or plugin, you&#8217;ll even upload a rule like: after any primary exchange, replace the preview website routinely so your shared hyperlink remains present.<\/p>\n<h3 class=\"wp-block-heading\">Best possible practices when the usage of AI with Studio CLI<\/h3>\n<p class=\"wp-block-paragraph\">AI brokers may also be extremely efficient copilots whilst you pair them with the Studio CLI. They may be able to accelerate setup, troubleshooting, preview deployments, and run actual instructions in opposition to your atmosphere.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">That stated, somewhat construction up entrance is helping you get the advantages whilst heading off ugly surprises.<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>Paintings from the Studio website root (or use `\u2013trail`)<\/strong>. This guarantees instructions run in opposition to the undertaking you in fact intend, particularly you probably have more than one websites to your device.<\/li>\n<li><strong>Set transparent obstacles on your activates.<\/strong> For instance: \u201cDon&#8217;t delete websites,\u201d \u201cSimplest run read-only studio wp instructions,\u201d or \u201cAsk sooner than operating database migrations.\u201d<\/li>\n<li><strong>Double-check damaging operations.<\/strong> For instructions like <code>studio website delete<\/code> and <code>studio preview delete<\/code>, have the agent display you the precise instructions it plans to run sooner than it executes the rest.<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">Used thoughtfully, AI plus Studio CLI can take away a lot of the repetitive setup, checking out, and deployment friction, so you&#8217;ll center of attention extra on designing and development nice WordPress reports.<\/p>\n<h2 class=\"wp-block-heading\">Get started development with Studio CLI<\/h2>\n<p class=\"wp-block-paragraph\">Studio CLI v2 makes WordPress Studio extra scriptable and automation-friendly for on a regular basis construction, whether or not you\u2019re operating instructions your self or running with an AI agent.<\/p>\n<p class=\"wp-block-paragraph\">If you wish to pass additional, the Studio CLI documentation walks via the entirety you&#8217;ll do and the right way to have compatibility it into your workflow.<\/p>\n<p class=\"wp-block-paragraph\">If you happen to haven\u2019t attempted WordPress Studio but, or it\u2019s been some time, this can be a nice time to leap in. Obtain Studio, spin up a website, and take the up to date CLI for a fast check power.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Model 1.7.0 of WordPress Studio is a big improve for someone development WordPress websites in the community, particularly builders and gear customers who love to automate duties and paintings from the terminal. In previous releases, the Studio CLI centered principally on developing and managing preview websites.\u00a0 With model two, it turns into a full-featured command-line [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4645,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4643","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/posts\/4643","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/comments?post=4643"}],"version-history":[{"count":1,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/posts\/4643\/revisions"}],"predecessor-version":[{"id":4644,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/posts\/4643\/revisions\/4644"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/media\/4645"}],"wp:attachment":[{"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/media?parent=4643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/categories?post=4643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thedigitalsagency.com\/services\/digital-downloadable\/wp-json\/wp\/v2\/tags?post=4643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}