Terminal Expose is an interactive terminal sharing tool that starts a real shell or command on your machine and exposes it over HTTP and WebSocket for trusted collaborators to connect via browser or CLI. Version 1.3.1 is the latest stable release with a moderate release cadence. Key differentiators include token-based authentication, LAN URL generation, optional Cloudflare Quick Tunnel for public HTTPS access, PTY resize for remote clients, and an in-memory buffer for replaying recent output. It requires Node.js >=18 and provides both a server package and a separate CLI client package (terminal-expose-cli).
npm install terminal-exposeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Global install and start exposing the default shell. Access via the printed session URLs.
Share the full session URL only with trusted collaborators. Use SESSION_TOKEN environment variable to set a custom token.
Only use --public when absolutely necessary. Ensure SESSION_TOKEN is set to a strong secret.
Upgrade Node.js to >=18.
Run 'npm install -g terminal-expose' to install globally.
Use a different port via PORT environment variable, e.g., PORT=4000 terminal-expose