npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

svix-cli

v1.98.0

Published

A CLI to interact with the Svix API.

Downloads

839

Readme

Svix CLI

A CLI to interact with the Svix API.

With the Svix CLI, you can:

  • Interact with the Svix API
  • Validate Webhook payloads

Installation

Pre-built executables

Via NPM

The Svix CLI is published on npm as svix-cli. You can run it directly with npx without installing anything:

npx svix-cli --help

Or install it globally:

npm install -g svix-cli
svix-cli --help

Via installer scripts

Pre-built binaries are available for Linux, macOS via shell script installers.

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/svix/svix-webhooks/releases/download/v1.98.0/svix-cli-installer.sh | sh

For Windows users, installation can be done via powershell:

powershell -ExecutionPolicy ByPass -c "irm https://github.com/svix-onelson/svix-webhooks/releases/download/v1.98.0/svix-cli-installer.ps1 | iex"

These scripts will install the binaries to ~/.svix/bin and also add this directory to your PATH by default.

Manually

Additionally, you can select executables to download directly from our releases page, and use them as is without having to install anything.

  1. Download and extract the archive for your operating system.
  2. Run the svix executable from the command line: ./svix help.

[!NOTE] You may need to allow execution by running chmod +x svix.

You can also put the binaries anywhere in your PATH so you can run the command from anywhere without needing to provide its full path. On macOS or Linux you can achieve this by moving the executable to /usr/local/bin or /usr/bin.

Usage

Installing the Svix CLI provides access to the svix command.

svix [command]

# Run `svix help` for information about the available commands
svix help

# or add the `--help` flag to any command for a more detailed description and list of flags
svix [command] --help

Using the listen command

The listen command creates an on-the-fly publicly accessible URL for use when testing webhooks.

[!NOTE] You don't need a Svix account when using the listen command.

The cli then acts as a proxy, forwarding any requests to the given local URL. This is useful for testing your webhook server locally without having to open a port or change any NAT configuration on your network.

Example:

svix listen http://localhost:8000/webhook/

Output:

Webhook Relay is now listening at:
https://play.svix.com/in/c_tSdQhb4Q5PTF5m2juiWu8qFREqE/

All requests on this endpoint will be forwarded to your local URL:
http://localhost:8080/webhook/

View logs and debug information at:
https://play.svix.com/view/c_tSdQhb4Q5PTF5m2juiWu8qFREqE/

The above command will return you a unique URL and forward any POST requests it receives to http://localhost:8000/webhook/.

Interacting with the Svix Server

# Set your Auth Token temporarily via the SVIX_AUTH_TOKEN environment variable
export SVIX_AUTH_TOKEN=<MY-AUTH-TOKEN>
# or to persistently store your auth token in a config file run
svix login # interactively configure your Svix API credentials

# Create an Application with the name "Demo"
svix application create '{ "name": "demo" }'

# List Applications
svix application list --limit 2 --iterator some_iterator

Commands

The Svix CLI supports the following commands: | Command | Description | | --------------- | ---------------------------------------------------------- | | login | Interactively configure your Svix API credentials | | application | List, create & modify applications | | authentication | Manage authentication tasks such as getting dashboard URLs | | endpoint | List, create & modify endpoints | | event-type | List, create & modify event types | | message | List & create messages | | message-attempt | List, lookup & resend message attempts | | signature | Sign or Verify the signature of a webhook message | | listen | Forward webhook requests a local url | | integration | List, create & modify integrations | | open | Quickly open Svix pages in your browser | | completion | Generate completion script | | version | Get the version of the Svix CLI | | help | Help about any command |

Shell Completions

Shell completion scripts are provided for bash, elvish, fish, powershell, and zsh.

To generate a script for your shell type svix completion <SHELL NAME>.

For detailed instructions on configuring completions for your shell run svix completion --help.

[!TIP] You can source the completion script automatically in your shell rc file.

Example:

eval "$(svix completion bash)"

Documentation

For a more information, checkout our API reference.