packaging/installer/methods/kickstart.md
import { OneLineInstall } from '@site/src/components/OneLineInstall/' import { Install, InstallBox } from '@site/src/components/Install/' import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
kickstart.sh is the recommended way to install Netdata.
This installation script works on all major Linux distributions. It automatically detects the best way to install Netdata for your system.
<details><summary>What does kickstart.sh actually do?</summary>| Task | Command / Location | Notes |
|---|---|---|
| Install Netdata | Run kickstart.sh | Choose nightly or stable release |
| Connect to Cloud | Use claim token | Connect node to Netdata Cloud |
| Customize install | Pass flags to control behavior | Directory, release, update control |
| Export config for IaC | Copy config from Cloud UI | For automation & Infrastructure as Code |
To install and connect to Netdata Cloud in a single step from your terminal:
<Tabs> <TabItem value="wget" label="wget"> <OneLineInstall method="wget" privacyMd="[anonymous statistics?](/docs/netdata-agent/configuration/anonymous-telemetry-events.md)" connectMd="[connect](/src/claim/README.md)" /> </TabItem> <TabItem value="curl" label="curl"> <OneLineInstall method="curl" privacyMd="[anonymous statistics?](/docs/netdata-agent/configuration/anonymous-telemetry-events.md)" connectMd="[connect](/src/claim/README.md)" /> </TabItem> </Tabs>:::tip
Pick Stable or Nightly: Check the guide for differences.
:::
<details><summary>🔍 Where to find your claim token</summary>Use these flags to customize your installation.
| Category | Parameter | Purpose |
|---|---|---|
| Directory Options | --install-prefix | Custom install directory |
--old-install-prefix | Clean previous install directory | |
| Interactivity | --non-interactive | No prompts (good for scripts) |
--interactive | Force interactive prompts | |
| Release Channel | --release-channel | nightly or stable |
--install-version | Install specific version | |
| Auto-Updates | --auto-update | Enable updates |
--no-updates | Disable updates | |
| Netdata Cloud | --claim-token | Provide claim token |
--claim-rooms | Assign node to specific Cloud Rooms | |
| Reinstall/Uninstall | --reinstall | Reinstall existing Netdata |
--uninstall | Uninstall Netdata completely |
These environment variables provide additional customization options (most users won't need these):
| Variable | Purpose | Default Behavior |
|---|---|---|
TMPDIR | Specify directory for temporary files | System default temp directory |
ROOTCMD | Command to run with root privileges | Uses sudo, doas, or pkexec (in order) |
DISABLE_TELEMETRY | Disable telemetry when set to non-zero value | Telemetry enabled |
:::note
The user running the script needs write and execute permissions in the temporary directory specified by TMPDIR.
:::
Before running the installation script, you can verify its integrity using the following command:
[ "@KICKSTART_CHECKSUM@" = "$(curl -Ss https://get.netdata.cloud/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
If the script is valid, this command will return OK, VALID. We recommend verifying script integrity before installation, especially in production environments.
sudo systemctl stop netdata before reinstalling--non-interactive flag in CI/CD pipelines