Skip to content

Installation

Download

Get the latest surveilr using either of the following methods:

  1. An installation script:

    Terminal window
    $ curl -sL https://raw.githubusercontent.com/opsfolio/releases.opsfolio.com/main/surveilr/install.sh | sh
    # if you want a different install path
    $ SURVEILR_HOME="$HOME/bin" curl -sL https://raw.githubusercontent.com/opsfolio/releases.opsfolio.com/main/surveilr/install.sh | sh
  2. Eget

    • Download eget here.
    • Terminal window
      $ eget opsfolio/releases.opsfolio.com --asset tar.gz
  3. Get the releases from our github releases page.

Verify installation

Terminal window
$ surveilr --version # version information
$ surveilr --help # get CLI help (pay special attention to ENV var names)

Checkout more commands in the reference section

Upgrading surveilr

Terminal window
$ surveilr upgrade ## Upgrades to the latest version
$ surveilr upgrade -v 0.1.2 ## Upgrades to version 0.1.2 if present

Shell Completions

Terminal window
$ surveilr --completions fish | source # setup shell completions to reduce typing