Skip to content

Admin CLI

SkySend includes a command-line administration tool for managing uploads and inspecting the server.

Looking for the CLI Client?

The Admin CLI (skysend-cli) is for server administrators to manage uploads and inspect the database. If you want to upload and download files from the terminal, see the CLI Client (skysend).

Overview

The CLI operates directly on the SQLite database and filesystem - no running server is required. This makes it useful for maintenance tasks and debugging.

Installation

The CLI is part of the SkySend monorepo. After building the project:

bash
# From the project root
pnpm build

# Run the CLI
node apps/cli/dist/index.js <command>

Or if you have set up an alias:

bash
skysend-cli <command>

Available Commands

CommandDescription
listShow active uploads
delete <id>Delete an upload by ID
statsShow storage overview
cleanupRemove expired uploads
configShow server configuration

See Commands for detailed usage of each command.