Skip to main content

Usage

Ship the contents of your LinkApp’s dist/ folder to Linktree.

Options

Quick start

  1. Authenticate once per environment:
  2. Optional: build locally if you want to inspect the output:
  3. Deploy:

What happens

  1. Initialize: loads linkapp.config.ts, resolves your LinkApp ID, and checks for a valid auth token.
  2. Preflight: builds if dist/ is missing and runs validation checks.
  3. Prepare artifacts: generates manifest files and packs uploadable assets.
  4. Confirm: shows the file list and asks for confirmation (skip with --skip-confirm).
  5. Upload: creates or updates the LinkApp on Linktree and prints success or error details.

Requirements

  • linkapp.config.ts present in your project (in the root or .config/).
  • Logged in for the target environment (linkapp login or linkapp login --qa).
  • dist/ folder exists, or let the command build it automatically.
Use --force only when you intend to replace an already published build.