Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview
How to install grafana/loki. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

grafana/loki Installation Guide

How to install grafana/loki. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for grafana/loki. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i grafana/loki
or

Install via npx

npx @hexmos/ipm i grafana/loki

Prerequisites

Go

language

Version: >1.16

Docker

system_tool

Loki can be run in a single host, no-dependencies mode using the following commands.

Git

system_tool

Used for cloning the Loki repository from GitHub.

Alloy

package_manager

Version: latest

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Building from Source

git clone https://github.com/grafana/loki.git

cd loki

go build ./cmd/loki

./loki -config.file=./cmd/loki/loki-local-config.yaml

Manual Installation (Loki)

cd loki

Post Installation Steps

  • Start the Loki server using the command: `loki-server`.
  • Access the Grafana UI at http://localhost:3000/ to view your logs.