WP-CLI on Local Version 10.1.0+6912 not working

Hi, when I use Site Shell on any of my sites in the GUI, WP-CLI does not run. It simply opens a minimised Terminal.app to my local profile.

I can manually locate the associated .sh file and execute it.

I am using Local version 10.1.0+6912 on macOS Tahoe 26.5.

This is a relatively new installation, so it has not been tried on this computer before.

There is nothing in the Local log files I can see.

Is this a known issue? Is there (ideally) a fix?

Thanks

Hi @Jifster!

I’m testing on the same OS and Local version but unable to replicate any issues.

So are you seeing a terminal window but you’re saying the WP-CLI commands themselves don’t work? Feel free to share a screenshot if I’m misunderstanding.

If you’re getting an error when trying to run commands can you confirm the site has been Started? (upper right hand corner of the GUI)

Hi,

The terminal window doesn’t open, the Terminal icon appears in the dock. When I click on the icon in the dock, the Terminal window then opens on the screen to my home folder i.e. just as if I started Terminal manually.

I can manually start the WP-CLI script by using the command
sh Library/Application\ Support/Local/ssh-entry/<scriptname>.sh

I have tried this on multiple sites. They are all started in Local.

Hi, @Jifster! This could happen if the automation permissions prompt was dismissed without approval the first time a site shell was opened, or if the permissions prompt never appeared.

Please check that “Terminal” is enabled at System Settings → Privacy & Security → Automation → Local → Terminal:

As soon as it’s enabled, Site Shell in Local should be able to open a new Terminal for you.

Yep, that done the trick!!! Thank you :grinning_face: