We use cookies to understand how people use Depot.
← Back to changelog

We shipped a new Node.js package @depot/cli that you can install into your Node projects to invoke CLI calls directly from your code. No more needing to install the CLI, configure it, etc. You can now install the package and start using it.

pnpm add @depot/cli
import {depot, depotBinaryPath} from '@depot/cli'
async function example() {
  await depot(['build', '-t', 'org/repo:tag', '.'])