Is there pure CLI tooling for pulling Kinsta staging environments locally?

Hey everyone,

I’m trying to find out whether there is any pure CLI-based Kinsta / DevKinsta tooling for local development workflows.

Specifically, I’m looking for something that lets me pull a Kinsta environment, ideally staging, into my local machine without using the DevKinsta GUI.

The workflow I’m looking for is something like:

kinsta pull --site my-site --env staging

or something equivalent that would:

  • pull files from a Kinsta staging environment
  • pull/export/import the database
  • handle URL replacement for local development
  • optionally integrate with Docker / local WordPress tooling
  • be scriptable in CI or local setup scripts

I know DevKinsta supports pulling from Kinsta through the UI, and I know Kinsta has API endpoints for some WordPress hosting workflows. But I’m specifically wondering whether there is currently any official, unofficial, or community-built CLI-first tool for this kind of workflow.

Howdy @wc_coder :waving_hand: ,

That’s an excellent idea friend.

We unfortunately do not have a dedicated CLI, however, you can access the CLI through Docker to perform your actions. There’s just currently no way to trigger the push to staging from the CLI.

I definitely see the need for a CLI/hooks so please feel free to submit this as a feature request for our devs! They are actively working to make DevKinsta as developer-friendly as possible, and I think this would be a great addition.