Installing and configuring Horizon

Horizon is built on top of RethinkDB, so a RethinkDB server is mandatory before using Horizon. You will also need to install the latest Node.js and NPM (node package manager).

Download and install Node.js from here https://nodejs.org/en/download/.

To install Horizon, run the following command in the terminal:

sudo npm install -g horizon

This will install Horizon as a global node module package. You should be seeing a similar screen as shown here:

Installing and configuring Horizon

Once the installation is complete, you can access Horizon from the terminal using the hz  command.

To create a new Horizon project, the CLI provides the hz init command. ...

Get Mastering RethinkDB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.