Not open yet — signups haven't started. Join the list for the day they do.
Home/Documentation/Using the CLI

Documentation

Using the CLI

Run npx lemonade deploy from your project folder and the site publishes — nothing to install first, and it prints the live URL when it's done.

Quick factsthe numbers
99¢a month
1 GBstorage
250 GBtraffic
99%uptime target

The CLI is one command: npx lemonade deploy, run from the folder that holds your finished site. npx fetches it for that single run, so there's nothing to install globally and nothing to add to your project first. See the CLI deploy page for the fuller walkthrough.

Run it from your project folder

# from your project folder
npx lemonade deploy

# point at a specific folder, if it's not the current one
npx lemonade deploy --dir dist

Run it from the project root, or use --dir to point at wherever the finished files actually are — a build output folder like /dist or /public, for instance. Whatever folder you point it at is deployed exactly as it stands; the CLI doesn't build anything, it publishes what's already there.

Authenticating with a token

Generate a token from your account and either pass it directly or set it once as an environment variable:

# pass it directly
npx lemonade deploy --token lm_xxxxxxxxxxxxxxxx

# or set it once in your shell
export LEMONADE_TOKEN=lm_xxxxxxxxxxxxxxxx
npx lemonade deploy

The CLI reads LEMONADE_TOKEN from the environment automatically, so most people set it once and never touch --token again. Like every Lemonade Host token, it's scoped to deploying — publishing a build and checking its status — and can't touch billing or delete the account.

Running it in CI

Add the token as a secret in your CI provider, export it as LEMONADE_TOKEN, and run the same command as a build step:

# example CI step, any provider that runs a shell command
- run: npx lemonade deploy --dir dist
  env:
    LEMONADE_TOKEN: $LEMONADE_TOKEN

A deploy triggered from CI queues the same as one run from a laptop, so a pipeline firing on every commit still publishes in order rather than racing other deploys.

What it prints

The command prints its progress as it runs — files found, upload size, queue position — and finishes by printing the live URL. That's the signal the deploy is done; there's no dashboard you have to open to confirm it.

Keep reading

Other ways to get files onto a live URL

Get on the list

Join the list and we'll email you just once — that's the only thing we use your address for.

Join the list