CLI

Deploy optimized assets from terminal or CI/CD

Smooth CDN CLI connects your build output with your CDN asset pipeline — upload files, publish versions, and use stable optimized CDN URLs in production.

Example release flow
scdn create-version 1.2.1
scdn push
scdn publish-version 1.2.1
✓ DONE
Smooth CDN logo

What the CLI does

Use commands instead of manual uploads, so asset delivery becomes part of your normal release process.

Push build output

Upload compiled assets from dist, build, public, or custom folders.

Publish versions

Create release packages and mark the active version as latest.

Automate CI/CD

Run the same commands from GitHub Actions, GitLab CI, or custom scripts.

Keep URLs stable

Use CDN URLs in your app while Smooth CDN handles optimized delivery.

Sync changes safely

Update deployed assets without relying on manual dashboard uploads.

CLI / CI/CD → CDN → App

The same publishing flow works locally and in your deployment pipeline.

CLI or CI/CD

Start from your terminal or a release job.

CDN

Optimize, cache, and publish files.

App

Use CDN URLs in code.

CLI vs dashboard upload

Dashboard uploadSmooth CDN CLI
Upload files one by onePush the whole build output
Easy to forget changed filesRepeatable commands for every release
Manual step before productionRuns inside CI/CD
No clear release packageWorks with versioned asset packages

Install Smooth CDN CLI

Install globally via npm:

npm install -g @smoothcdn/cli

Or use it inside your project:

npm install @smoothcdn/cli

After installation, sign in and initialize a project:

scdn login
scdn init

FAQ

Does Smooth CDN CLI work only with Smooth CDN?

Yes. It is the command-line client for Smooth CDN projects, assets, versions, and deployment flows.

Can I use it in CI/CD?

Yes. Use an API key in GitHub Actions, GitLab CI, Bitbucket Pipelines, or custom release jobs.

Can I switch between asset versions?

Yes. You can publish assets as named versions and mark the active version as latest. Older version URLs can stay available while new releases roll out.

Need exact command flags? Open the CLI docs.

Add Smooth CDN CLI to your release flow

Publish optimized frontend assets without manual uploads, then use stable CDN URLs in production.