Usage
dist/ folder to Linktree.
Options
| Flag | Description | Default |
|---|---|---|
--qa | Deploy to the QA environment instead of production | false |
--skip-confirm | Skip the deployment confirmation prompt | false |
--force | Force deployment even if the LinkApp is already published | false |
-h, --help | Show help | - |
Quick start
- Authenticate once per environment:
- Optional: build locally if you want to inspect the output:
- Deploy:
What happens
- Initialize: loads
linkapp.config.ts, resolves your LinkApp ID, and checks for a valid auth token. - Preflight: builds if
dist/is missing and runs validation checks. - Prepare artifacts: generates manifest files and packs uploadable assets.
- Confirm: shows the file list and asks for confirmation (skip with
--skip-confirm). - Upload: creates or updates the LinkApp on Linktree and prints success or error details.
Requirements
linkapp.config.tspresent in your project (in the root or.config/).- Logged in for the target environment (
linkapp loginorlinkapp login --qa). dist/folder exists, or let the command build it automatically.
--force only when you intend to replace an already published build.