You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@depot/cli

Package Overview
Dependencies
Maintainers
2
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@depot/cli

Depot CLI

0.0.1-cli.2.95.0
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

@depot/cli

CI npm Powered by TypeScript

A Node.js package for downloading and interacting with the Depot CLI.

Installation

Use pnpm or your favorite package manager:

pnpm add @depot/cli

Usage

depot(...)

Call the Depot CLI with the given arguments - the depot(...) function accepts the same arguments as execa, automatically injecting the Depot CLI binary as the first argument.

depotBinaryPath()

Returns the path to the Depot CLI binary.

Example

import {depot, depotBinaryPath} from '@depot/cli'

async function example() {
  console.log(depotBinaryPath())

  await depot(['build', '-t', 'org/repo:tag', '.'])
}

License

MIT License, see LICENSE.

Code from ESBuild, copyright (c) 2020 Evan Wallace

FAQs

Package last updated on 14 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts