@vendure/cloud-cli
v0.5.0
Published
Command-line interface for Vendure Cloud — deploy and manage hosted Vendure applications.
Readme
@vendure/cloud-cli
Command-line interface for Vendure Cloud — the managed hosting platform for Vendure e-commerce applications. Use it to deploy and manage your hosted Vendure applications from your terminal.
New to Vendure Cloud? Learn more and get started at vendure.io/product/cloud.
Install
npm install -g @vendure/cloud-cliThis installs two equivalent commands: vcloud and vendure-cloud.
Requires Node.js 22 or newer.
The Vendure CLI is where these commands are going
The same commands are now part of the @vendure/cloud package, as a plugin for the Vendure CLI. In
a project that has @vendure/cloud installed, turn them on once:
vendure plugins add @vendure/cloudEvery command below then works as vendure <command> — vendure deploy, vendure backup db list,
vendure context — against the same stored login and the same project link. There is nothing to
migrate: both read ~/.vendure-cloud and .vendure-cloud/project.json.
This package stays for now and keeps working. It runs the same commands from the same implementation, so nothing you have scripted changes.
Usage
vcloud login # authenticate
vcloud init # link the current directory to a project
vcloud deploy # deploy the current environment
vcloud context # show the resolved organization, project and environment
vcloud --help # list all commandsThe CLI reads a .env file from the current working directory at startup, so you can point it at a non-default API with VENDURE_CLOUD_API_URL without exporting it in your shell.
The CLI writes a debug log to ~/.vendure-cloud/cli.log, replacing what the previous run left there. Set VENDURE_CLOUD_LOG_FILE to put it somewhere else.
