Skip to content

Commit 327ed29

Browse files
authored
docs: Update Promtail installation (#14473)
1 parent 52fec61 commit 327ed29

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

docs/sources/send-data/promtail/installation.md

+34
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,40 @@ See the instructions [here](https://grafana.com/docs/loki/<LOKI_VERSION>/setup/i
4141
docker run -v <local-path>:/mnt/config -v /var/log:/var/log --link loki grafana/promtail:3.0.0 --config.file=/mnt/config/promtail-config.yaml
4242
```
4343

44+
## Install on MacOS with Homebrew
45+
46+
1. If necessary, install [Homebrew](https://brew.sh/).
47+
48+
```bash
49+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
50+
```
51+
52+
1. Update Homebrew.
53+
54+
```bash
55+
brew update
56+
```
57+
58+
1. Navigate to the [homebrew page for Promtail](https://formulae.brew.sh/formula/promtail).
59+
1. To install Promtail, run the following command:
60+
61+
```bash
62+
brew install promtail
63+
```
64+
65+
1. Check that installation was successful.
66+
1. Check that promtail exists in its install directory.
67+
68+
```bash
69+
which promtail
70+
```
71+
72+
1. Run promtail
73+
74+
```bash
75+
promtail
76+
```
77+
4478
## Install using Helm
4579

4680
1. Make sure that Helm is installed. See [Installing Helm](https://helm.sh/docs/intro/install/).

0 commit comments

Comments
 (0)