Skip to main content

Quickstart ยท Slidev

Sharing Slidev decks with linkdown

Five steps from your source folder to a shareable link.

Your share URL survives edits

Fix a typo, rebuild, run linkdown update. The same URL keeps working โ€” no broken embeds, no fresh links to paste.

1.Install the CLI

Install the linkdown CLI:

curl -fsSL https://lnkdwn.com/install.sh | bash

Need to inspect it first? The script is at /install.sh. Manual install options are in the CLI reference.

2.Authenticate

linkdown login opens your browser to confirm the device.

linkdown login

3.Build

From the root of your Slidev project, run the built-in static export. Output lands in dist/:

npx slidev build

Make sure slidev is in your package.json devDependencies โ€” the CLI uses that to auto-detect the framework.

4.Upload

The CLI auto-detects Slidev from slidev in your package.json. The default build directory is ./dist:

linkdown create ./dist --name my-slidev-deck

Want to skip auto-detection? Pass --framework slidev explicitly.

5.Share

Your deck is live at the URL printed in the terminal. The link survives edits โ€” see the call-out above.

linkdown share my-slidev-deck

Re-print the link any time with linkdown share <name>. Add --expiry 30d or --password secret to scope the link.

Updating an existing deck

Run linkdown update after edits. The share URL is preserved.

linkdown update ./dist --name my-slidev-deck

Other frameworks

Same five steps work for the other supported slide frameworks.