#getting-started
SilverBullet is distributed as a single server binary available for the following platforms:
note Which file should I download? The releases page lists two families of zip files: *
silverbullet-server-<os>-<arch>.zip: this is what you want, the actual SilverBullet server. *sb-<os>-<arch>.zip— the optional CLI tool (sb) for scripting against a running server.
We start by downloading the silverbullet-server-* zip for your platform from GitHub.
Unzip this archive somewhere convenient. You’ll get a single silverbullet executable.
Then, create a folder to hold your Space (your notes will live here):
mkdir my-space
Run the server, pointing it at that folder:
./silverbullet my-space
It listens on http://localhost:3000 by default. To pick a different port, use -p:
./silverbullet -p 3001 my-space
And to bind on an address other than 127.0.0.1 (e.g. to make it reachable on your LAN), use -L:
./silverbullet -L 0.0.0.0 my-space
note Note If you want to access SilverBullet from another machine, you need TLS and you should enable Authentication first.
Now, open http://localhost:3000 in your browser and head to Getting Started to learn the basics.
By default the server runs unauthenticated — anyone who can reach the port can read and write your space. This is fine for localhost, but as soon as you expose the server to anything else, set the SB_USER environment variable:
SB_USER=admin:somepassword ./silverbullet my-space
See Authentication and Install/Configuration for the full picture (lockout policy, API tokens, etc.).
The server is configured primarily through environment variables. The flags -p and -L above are the only command-line flags. Everything else is in Install/Configuration.
You can upgrade your SilverBullet install based on the version you’d like to run.
To upgrade to the latest stable release:
./silverbullet upgrade
To upgrade to the latest edge release (which keeps in sync with the main development branch):
./silverbullet upgrade-edge
To upgrade your client, be sure to refresh your page twice somewhat slowly.
To check which version of SilverBullet you’re running, run the ${widgets.commandButton("Client: Version")} command.