Getting Started
Quickstart
Create a secure, public URL to your local app in under 60 seconds.
1. Install the agent
Pick your platform on the right and run the install command.
2. Authenticate
Save your API token to authenticate the agent. Tokens are generated from the dashboard.
3. Launch your first endpoint
Share your local app on port 3000 with a predictable subdomain.
brew install ngris
ngris --version
# Save your auth token (from dashboard)
ngris auth --token {your-auth-token}
# Or set via environment variable
export NGRIS_AGENT_AUTHENTICATION_TOKEN={your-auth-token}
ngris http 3000 --url myapp.ngris.com
# Output
# Session: online
# Forwarding: https://myapp.ngris.com -> http://localhost:3000
Installation
Pick your platform. The agent is a single static binary — no runtime dependencies.
macOS
Homebrew is the easiest install path on macOS.
Windows
Use the official Windows package via winget.
Linux
The install script auto-detects your distribution and architecture.
Docker
Run the agent as a container from ghcr.io/ngris-edge/ngris (multi-arch amd64/arm64). Use --network host so it can reach services on localhost.
brew install ngris
winget install Ngris
curl -fsSL https://ngris.com/install.sh | sh
docker run --rm --network host ghcr.io/ngris-edge/ngris:latest http 3000 --url myapp.ngris.com --token at-…
Authentication
Login once per device, revoke from the dashboard any time.
Agent Auth Token
The agent reads its token from ngris auth output or the NGRIS_AGENT_AUTHENTICATION_TOKEN env var.
Config File
For repeatable deployments, store the token in a config.yaml beside the agent.
# Save auth token (from dashboard)
ngris auth --token {auth-token}
# Or via environment variable
export NGRIS_AGENT_AUTHENTICATION_TOKEN={auth-token}
# config.yaml
authentication:
token: "your-api-token"
Your First Endpoint
Expose an HTTP service and share a stable URL.
observability.region or the NGRIS_AGENT_OBSERVABILITY_REGION environment variable.
ngris http 3000 --url myapp