ShipStatic ShipStatic

Ship CLI

The fastest way to interact with ShipStatic. Scriptable, composable, and discoverable.

zsh
$ ship ./dist --label production
ℹ Validating configuration...
ℹ Compressing assets...
✔ Uploaded 42 files (1.2MB)
✔ Deployment created: pink-elephant-4ruf23f
➜ https://pink-elephant-4ruf23f.shipstatic.com
$ ship domains set example.com pink-elephant
✔ Domain 'example.com' now points to 'pink-elephant-4ruf23f'
Power User Tool

Speed and control.

A strict resource-action pattern that becomes second nature instantly.

  • One-command deploys
  • Automatic SPA detection
  • JSON output for scripting
  • Deploy tokens for CI/CD
$ npm i -g @shipstatic/ship
Configuration as Code

One file. Full control.

Drop a ship.json in your project root to configure rewrites, redirects, and custom headers. No dashboard clicks, no deploy flags, just code.

SPA Rewrites

Route all paths to index.html for client-side routing.

Redirects

Permanent or temporary redirects with status codes.

Custom Headers

Set CORS, CSP, cache-control, and any other HTTP header.

ship.json
{
  "rewrites": [
    {
      "source": "/**",
      "destination": "/index.html"
    }
  ]
}

Ready to go live?

No extra charges, no surprise bills, nothing to maintain.