Install streamview
You can use streamview in two ways: as a program on your computer, or as a container.
Install the program on macOS or Linux
Section titled “Install the program on macOS or Linux”Run this command in a terminal:
curl -fsSL https://github.com/event-catalog/streamview/releases/latest/download/install.sh | shThe command downloads the program for your computer and checks the download.
It puts the program streamview in the directory ~/.local/bin.
If that directory is not on your path, the command tells you. It shows the line to add to the configuration file of your shell.
To make sure that the program works, run streamview demo.
The program contains the server, the page, the fonts, and the adapters for Kafka, NATS, and RabbitMQ.
For streamview kafka, streamview nats, and streamview rabbitmq, you also need Node.js. We tested version 24.
Select the version or the directory
Section titled “Select the version or the directory”Set a variable before sh:
| Variable | Default | What it does |
|---|---|---|
STREAMVIEW_VERSION |
The latest release | Gives the version to install, for example 0.1.0. |
STREAMVIEW_INSTALL_DIR |
~/.local/bin |
Gives the directory for the program. |
For example:
curl -fsSL https://github.com/event-catalog/streamview/releases/latest/download/install.sh | STREAMVIEW_VERSION=0.1.0 shUse Windows, or do not install a program
Section titled “Use Windows, or do not install a program”Use the container image. You need only Docker.
docker run --rm -p 127.0.0.1:4747:4747 ghcr.io/event-catalog/streamviewGet a newer version
Section titled “Get a newer version”Run this command:
streamview updateThe command downloads the latest version and replaces the program.
If you use the container, run docker pull ghcr.io/event-catalog/streamview.
When streamview starts, it tells you if there is a newer version. It prints one line in the terminal.
For this, streamview asks GitHub for the number of the latest version, one time each day.
It does not send data about you or your events.
To stop this check, set the variable STREAMVIEW_NO_UPDATE_CHECK to 1.
To see the version that you have, run streamview --version.
Version 0.1.0 has no update command. If you have that version, run the install command again.
Remove streamview
Section titled “Remove streamview”Delete the file ~/.local/bin/streamview.
The adapters are in the directory ~/.cache/streamview. Delete that directory too.