🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@velocms/cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@velocms/cli

VeloCMS developer CLI — dev, test, build, publish for plugins and themes

latest
Source
npmnpm
Version
1.0.0-alpha.1
Version published
Maintainers
1
Created
Source

@velocms/cli

The official VeloCMS developer CLI. Build, test, and publish plugins and themes to the VeloCMS marketplace.

Installation

npm install -g @velocms/cli
# or use without installing:
npx @velocms/cli <command>

Commands

CommandDescription
velocms loginAuthenticate with velocms.org via browser OAuth
velocms devStart local dev server with TypeScript hot-reload
velocms testRun the plugin/theme test suite (auto-detects Vitest)
velocms buildCompile and pack a publishable .tgz artifact
velocms publishUpload to marketplace as a draft (requires login)
velocms logoutClear stored credentials

Quick start

# Scaffold a new plugin
npx create-velocms-plugin my-plugin

# Enter the project
cd my-plugin && npm install

# Start dev server
velocms dev

# Run tests
velocms test

# Build for publishing
velocms build

# Publish draft to marketplace
velocms login  # first time only
velocms publish

Authentication

velocms login uses the OAuth 2.0 Device Authorization Grant (RFC 8628). Your browser opens https://velocms.org/developers/auth — approve access there, and the CLI receives a token automatically.

Credentials are stored at ~/.velocms/credentials.json (mode 600).

Environment variables

VariableDefaultPurpose
VELOCMS_API_URLhttps://velocms.orgOverride API base URL for testing
VELOCMS_DEV_URLhttp://localhost:3000Local VeloCMS instance for dev command

Docs

Full developer documentation: velocms.org/developers/docs

License

MIT

Keywords

velocms

FAQs

Package last updated on 19 May 2026

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