
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
@bagdock/cli
Advanced tools
Bagdock developer CLI — build, test, and deploy apps and edges on the Bagdock platform
Developer CLI for building, testing, and deploying apps and edges on the Bagdock platform.
# npm
npm install -g @bagdock/cli
# yarn
yarn global add @bagdock/cli
# pnpm
pnpm add -g @bagdock/cli
# bun
bun add -g @bagdock/cli
Or run without installing:
npx @bagdock/cli --help
bunx @bagdock/cli --help
pnpm dlx @bagdock/cli --help
# Authenticate with your Bagdock account
bagdock login
# Scaffold a new project
bagdock init
# Start local development
bagdock dev
# Deploy to Bagdock
bagdock deploy
Edges are backend workers that connect external APIs, handle webhooks, and sync data between platforms.
Apps are UI extensions that add screens, panels, and drawers to the Bagdock operator dashboard.
Both deploy to the Bagdock platform via the CLI. You don't need to manage any infrastructure.
| Command | Description |
|---|---|
bagdock login | Authenticate via Device Authorization Grant (opens browser) |
bagdock logout | Clear stored credentials |
bagdock whoami | Show current authenticated user |
bagdock init | Scaffold a new project with bagdock.json |
bagdock dev | Start local dev server |
bagdock deploy | Build and deploy to Bagdock |
bagdock env set | Set an environment variable for your project |
bagdock env list | List environment variables |
bagdock submit | Submit for marketplace review |
The CLI uses the OAuth 2.0 Device Authorization Grant. When you run bagdock login, it will:
~/.bagdock/credentials.jsonEach project uses a bagdock.json file. All config lives here — no wrangler.toml needed. A temporary one is auto-generated for local dev and should be gitignored.
{
"name": "noke-lock-adapter",
"slug": "noke-lock-adapter",
"type": "edge",
"kind": "adapter",
"category": "locks",
"main": "src/index.ts"
}
{
"name": "my-dashboard-widget",
"slug": "my-dashboard-widget",
"type": "app",
"kind": "ui-extension",
"category": "analytics",
"main": "src/index.ts"
}
MIT — see LICENSE.
FAQs
Bagdock developer CLI — build, test, and deploy apps and edges on the Bagdock platform
The npm package @bagdock/cli receives a total of 13 weekly downloads. As such, @bagdock/cli popularity was classified as not popular.
We found that @bagdock/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.