Add alternative install command for macOS. (#11997)
macOS includes cURL by default, but not wget.
Austin S. Hemmelgarn committed
Jan 18, 2022 at 11:05 UTC
dbe0c85f23a8ab7b2d533fd7875454c322e8036b
2 files changed
+13
-1
packaging/installer/README.md
+6
@@ -41,6 +41,12 @@ updates_, run the following as your normal user:
41
wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh
42
```
43
44
+Or, if you have cURL but not wget (such as on macOS):
45
+
46
+```bash
47
+curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh
48
+```
49
+
50
This script will preferentially use native DEB/RPM packages if we provide them for your platform.
51
52
To see more information about this installation script, including how to disable automatic updates, get nightly vs.
packaging/installer/methods/kickstart.md
+7
-1
@@ -11,7 +11,7 @@ custom_edit_url: https://github.com/netdata/netdata/edit/master/packaging/instal
11
This page covers detailed instructions on using and configuring the automatic one-line installation script named
12
`kickstart.sh`.
13
14
-The kickstart script works on all Linux distributions and macOS environments. By default, automatic nightly updates are enabled. If you are installing on macOS, make sure to check the [install documentation for macOS](packaging/installer/methods/macos) before continuing.
14
+The kickstart script works on all Linux distributions and macOS environments. By default, automatic nightly updates are enabled. If you are installing on macOS, make sure to check the [install documentation for macOS](packaging/installer/methods/macos) before continuing.
15
16
> If you are unsure whether you want nightly or stable releases, read the [installation guide](/packaging/installer/README.md#nightly-vs-stable-releases).
17
> If you want to turn off [automatic updates](/packaging/installer/README.md#automatic-updates), use the `--no-updates` option. You can find more installation options below.
@@ -22,6 +22,12 @@ To install Netdata, run the following as your normal user:
22
wget -O ./kickstart.sh https://my-netdata.io/kickstart.sh && sh ./kickstart.sh
23
```
24
25
+Or, if you have cURL but not wget (such as on macOS):
26
+
27
+```bash
28
+curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh
29
+```
30
+
31
32
## What does `kickstart.sh` do?
33