Loading...
Loading...
Deploy frontend projects to instant preview URLs using sher. After building a project, run sher link to get a live, shareable URL in seconds.
npx skill4agent add sherdotsh/sher sher-deploynpm i -g shershnpx shersh linksher link| Flag | Description |
|---|---|
| Upload a specific directory (skips framework detection) |
| Set link expiry in hours (default: 24) |
| Skip the build step (use if already built) |
| Password-protect the preview (Pro only) |
# Standard deploy
sher link
# Deploy a pre-built project
sher link --no-build
# Deploy a specific output directory
sher link --dir ./dist
# Short-lived link (2 hours)
sher link --ttl 2 https://a8xk2m1p.sher.sh (copied)
expires 2/19/2026, 11:00 AMhttps://[a-z0-9]{8}.sher.shhttps://[a-z0-9]{8}\.sher\.shYour preview is live at https://a8xk2m1p.sher.sh
--ttl--passdist/out/dist/build/dist/build/out/--dir .sher linkbuildpackage.json--dirdist/build/out/--dir