U

uploads CLI

CLI declared

Details
Command
uploads
Docs
https://uploads.sh/docs
Authentication
uploads.sh workspace token bearer discovered Get token ↗
$ uploads login

Get invited to an uploads.sh workspace, then run `uploads login` after installing the CLI: npm install -g @buildinternet/uploads && uploads login. The command opens a browser device sign-in flow (GitHub or magic link), lets you choose --workspace <name> if needed, and saves UPLOADS_TOKEN plus UPLOADS_API_URL and UPLOADS_WORKSPACE to the shared config. As a non-interactive fallback, supply the saved token via the UPLOADS_TOKEN environment variable. Token details and scopes are documented in auth.md.

uploads.sh workspace token bearer declared Get token ↗
$ uploads login

Sign in at https://uploads.sh/login (GitHub or email magic link). You need access to a workspace: create one at https://uploads.sh/account/workspaces/new (requires a linked GitHub account) or accept an invitation from a workspace admin. Then:

```bash

npm install -g @buildinternet/uploads

uploads login

```

uploads login runs a browser device-authorization flow and saves UPLOADS_TOKEN (with UPLOADS_API_URL and UPLOADS_WORKSPACE) to the shared config file; the raw token is never printed. Pass --workspace <name> if the account can reach more than one. Tokens look like up_<workspace>_…, are scoped to a single workspace, carry files:read and files:write by default (files:delete must be granted by an admin), and expire after 90 days. Full details: https://uploads.sh/auth.md