@prevsh/cli
v1.11.1
Published
Prev CLI - Preview environments for web projects
Downloads
498
Readme
prev CLI
Create and manage prev preview environments from your terminal.
Install
npm install -g @prevsh/cliUsage
Set your API key:
export PREV_API_KEY="your-api-key"Then deploy a project:
prev create .Useful commands:
prev create . # deploy a local project
prev create --image nginx # deploy a Docker image
prev list # list active environments
prev env <id-or-url> # show environment details
prev logs <id-or-url> # show logs
prev destroy <id-or-url> # destroy an environment
prev ui # open the local mini-dashboardSee the CLI docs for the full command reference:
https://prev.sh/docs/commands/
