Entrify

Deploy with AI & CLI

How do I deploy from the terminal?

Install the CLI with npm install -g entrify-deploy, log in with entrify auth login, and run entrify deploy in a repository or entrify upload for an HTML page.

  1. Install the CLI

    It needs Node.js 18 or later and installs the entrify command.

    Command
  2. Log in

    Enter your email and password. The password is always typed in, never passed as a flag. A login lasts 7 days; in CI, set ENTRIFY_TOKEN to an API token instead.

    Command
  3. Deploy a repository

    Run it in the repository. Entrify builds what is pushed to the git remote; --create makes a project for a new repository.

    Command
  4. Or publish an HTML page

    Upload an .html file, a folder with index.html at its top, or a .zip. No git is needed.

    Command

What commands are there?

Project commands act on the project matched from the current repository; pass --project-id to choose another. Every command also takes --json.

CommandFlagsWhat it does
entrify deploy--project-id <id|slug>, --create, --dir <path>Deploy the current repository (the default command). Matches the project by its git remote.
entrify upload <file|folder|zip>--name <name>, --project-id <id|slug>, --dry-runPublish files as a static site. --project-id uploads a new version of a site; --dry-run lists the files and checks the name without uploading.
entrify status--project-idThe latest deployment and the live URL.
entrify logs--deployment <id>, --lines <n|all>, --followThe build log of the latest deployment (last 200 lines by default).
entrify env list | set KEY=VALUE … | push [file] | unset KEY …--project-idEnvironment variables. Values are stored encrypted and never printed. Changes apply on the next deploy.
entrify rollback--to <deployment-id>Go back to the previous successful deployment.
entrify cancel--project-idCancel the deployment that is queued or building.
entrify projectsList your projects and their status.
entrify auth login--email <email>, --api-url <url>Log in. The password is always prompted.
entrify auth statusShow the account you are logged in as.
entrify auth tokenPrint the saved login token (expires after 7 days).
entrify auth logoutClear the saved login.
entrify mcpRun the MCP server that Claude Desktop starts. Use the extension instead of running it yourself.
entrify help, --versionPrint the command reference or the installed version.

How do I use it in scripts, CI or AI agents?

Add --json to any command for exactly one JSON object on stdout: { "ok": true, ... } or { "ok": false, "error": { "code", "message" } }. A failed deploy also includes cause, fix and the last 40 lines of the log. Commands never prompt without a terminal or with --json.

Exit codes
Exit codeMeaning
0Success
1The operation failed, for example the build failed
2Needs input: a flag, a project or a file
3Not logged in, or the login or token expired

Which environment variables does it read?

  • ENTRIFY_TOKEN: skips auth login. Use an API token (ent_…); the output of entrify auth token also works but expires after 7 days. env commands need a Full access token.
  • ENTRIFY_URL: the Entrify URL, https://entrify.site by default.
  • The older DROPDEPLOY_TOKEN and DROPDEPLOY_URL names still work.
export ENTRIFY_TOKEN=ent_...
entrify deploy --project-id my-app --json

Where is the source?

The CLI is open source (MIT) at github.com/kpndevrootentri/entrify-cli and published on npm as entrify-deploy. It was called dropdeploy-cli; the dropdeploy command still works.