Local Community

Local + CLI

Hi,

This is my first message and I don’t know if I have to post it here or in the feature request.

I am currently working on the optimisation of my workflow, I would like to automate the creation of my local setup, so is there a way to create a local project by command line ? Basically I would need to create a version without content like wp core install --skip-content would do with wp-cli.

Hi @Ronce-bleue

You’d have to get the Local App up and running with a site to be able to use WP-CLI. You wouldn’t be able to “cold create” a Local site straight from the command line if I understand you correctly.

If you have any other questions or concerns don’t hesitate to reach back out. We are always happy to help!

1 Like