npm.io
0.1.11 • Published 2h agoCLI

@share2us/cli

Licence
MIT
Version
0.1.11
Deps
0
Size
8 kB
Vulns
0
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

@share2us/cli

The Share2Us command-line client (s2u), distributed via npm.

Share files and text from your terminal, the browser, or an AI agent, and get back one opaque, expiring link. Also does offline LAN / Tailscale / WireGuard direct transfers with no account and no cloud.

Install

npm install -g @share2us/cli

This downloads the prebuilt binary for your platform (Linux, macOS, and Windows; x64/arm64) from GitHub Releases. Then:

s2u login
s2u rca.md            # upload -> get a share link
s2u get s.share2.us/7Kf9aQ2m
s2u help              # full command reference

Prefer a script installer instead?

  • Linux / macOS: curl -fsSL https://share2.us/install.sh | sh
  • Windows (PowerShell): irm https://share2.us/install.ps1 | iex

Notes

  • The version you get is always the latest release. Pin one with SHARE2US_VERSION=v20260718173923 npm i -g @share2us/cli.
  • This is a thin wrapper around the Go binary; the source and full docs live at github.com/share2us/cli.

License

MIT Share2Us

Keywords