Skip to content

CLI

Same package as the SDK. Works via npx or when installed globally.

Terminal window
# one-off
DROPKIT_KEY=pk_live_... npx @dropkit/upload ./photo.jpg
# from stdin
cat build.tar.gz | DROPKIT_KEY=pk_live_... npx @dropkit/upload - --name build.tar.gz

Prints the URL on success. Exit 0 on success, 1 on upload failure, 2 on usage error.

Override the endpoint with DROPKIT_ENDPOINT.