WP CLI isn’t working on the Studio terminal
-
I’m encountering an issue with WP CLI on the Studio terminal and I could really use some help. When I try to run WP CLI commands, nothing happens, and I’m not sure why it’s not working. I’ve double-checked everything I can think of, including making sure the Studio app is set up properly, but I’m still stuck.
Has anyone else experienced this problem? Any ideas on what could be causing it or how I can troubleshoot this?
Device info: Macbook Pro M1 Pro.
macOS: Latest macOS (fresh installed). -
Hi there,
WP-CLI feature is available to sites in the Business or Commerce plan. If you are on this plan, you must configure an SSH connection to your WordPress.com account before using the command-line tool.
To learn more about the feature, please follow this link https://developer.wordpress.com/docs/developer-tools/wp-cli/
-
Hey, @wpfahim! 👋
Since you’re working on your computer’s WordPress instance (the Studio app), I suggest verifying that you installed the
wp-clion your computer first:- Open your preferred terminal app
- Type:
which wpand press Return on your keyboard - If the output says
wp not found, proceed with installing it below.
📦 The easiest way to install it on your computer is via the
brewapp:💡 Just to clarify, the Studio Terminal just runs the macOS Terminal.app with a preconfigured working directory of your site. It does not include
wp-cliin it.After you have installed it, you should retry your initial task using
wp-cliby clicking the “Terminal” button from the Studio app and executing the preferred commands. 😊
- The topic ‘WP CLI isn’t working on the Studio terminal’ is closed to new replies.