Skip to main content

Advanced Script Options

The Dappnode installation script supports a variety of flags and environment variables that give you fine-grained control over the installation process. Each flag has an equivalent environment variable.

CLI Flags

FlagDescriptionEquivalent Env Variable
--updateClean existing downloaded artifacts before installing. Useful to force a fresh re-download of all components.UPDATE=true
--static-ip <ipv4>Set a static IP address for the Dappnode instance.STATIC_IP=<ipv4>
--local-profile-path <path>Use a local .dappnode_profile file instead of downloading one from GitHub. Useful for offline or custom installations.LOCAL_PROFILE_PATH=<path>
--ipfs-endpoint <url>Override the default IPFS gateway endpoint used to download packages.IPFS_ENDPOINT=<url>
--profile-url <url>Override the URL from which the core packages profile (version list) is downloaded.PROFILE_URL=<url>
--minimalInstall only the bare minimum packages: BIND, DAPPMANAGER, NOTIFICATIONS, PREMIUM. No VPN, WIFI, IPFS, or HTTPS.MINIMAL=true
--liteInstall a reduced package set: BIND, VPN, WIREGUARD, DAPPMANAGER, NOTIFICATIONS, PREMIUM. No WIFI, IPFS, or HTTPS.LITE=true
--packages <list>Override the package selection entirely. Comma or space-separated list. DAPPMANAGER is automatically included if omitted.PACKAGES=<list>
-h, --helpShow the help message and exit.
note

--minimal and --lite are mutually exclusive. If both are specified, the installer will exit with an error. If --packages is provided, it takes priority over --minimal and --lite.

Environment Variables

All flags can also be passed as environment variables. Environment variables are useful when piping the installer from a URL:

sudo wget -O - https://installer.dappnode.io | sudo MINIMAL=true bash
VariableDefaultDescription
UPDATEfalseSet to true to clean cached artifacts before installing.
STATIC_IP(empty)IPv4 address to configure as static IP.
LOCAL_PROFILE_PATH(empty)Path to a local .dappnode_profile file.
IPFS_ENDPOINThttps://ipfs-gateway-dev.dappnode.netIPFS gateway URL for downloading packages.
PROFILE_URLhttps://github.com/dappnode/DAppNode/releases/latest/download/dappnode_profile.shURL to download the version profile from.
MINIMALfalseEnable minimal installation mode.
LITEfalseEnable lite installation mode.
PACKAGES(empty)Comma or space-separated list of packages to install.

Available Packages

The following packages can be specified with --packages:

PackageDescription
BINDDNS service for .dappnode domain resolution
IPFSIPFS node for decentralized package distribution
VPNOpenVPN server for remote access
WIREGUARDWireguard VPN server for remote access
DAPPMANAGERCore Dappnode management UI and API (always required)
WIFIWiFi hotspot for local access
HTTPSHTTPS portal for secure web access (requires ports 80/443 to be free)
NOTIFICATIONSNotification service
PREMIUMPremium features
info

DAPPMANAGER is required for a functional installation. If you specify --packages without including DAPPMANAGER, it will be automatically added.

HTTPS is automatically skipped if ports 80 or 443 are already in use by another service.

Installation Mode Summary

ModePackages InstalledUse Case
Default (server)HTTPS, BIND, IPFS, VPN, WIREGUARD, DAPPMANAGER, WIFI, NOTIFICATIONS, PREMIUMDedicated 24/7 server
--liteBIND, VPN, WIREGUARD, DAPPMANAGER, NOTIFICATIONS, PREMIUMLinux desktop / laptop
--minimalBIND, DAPPMANAGER, NOTIFICATIONS, PREMIUMmacOS personal use, testing, or custom setups
--packagesCustom selectionFull control over installed components

Examples

Full server installation with update

sudo wget -O - https://installer.dappnode.io | sudo UPDATE=true bash

Lite installation for a Linux desktop

sudo wget -O - https://installer.dappnode.io | sudo bash -s -- --lite

Minimal installation for a personal Mac

sudo wget -O - https://installer.dappnode.io | sudo bash -s -- --minimal

Custom package selection

Install only BIND, WIREGUARD, and DAPPMANAGER:

sudo wget -O - https://installer.dappnode.io | sudo bash -s -- --packages BIND,WIREGUARD,DAPPMANAGER

Using a custom IPFS gateway

sudo wget -O - https://installer.dappnode.io | sudo bash -s -- --ipfs-endpoint https://my-ipfs-gateway.example.com

Setting a static IP

sudo wget -O - https://installer.dappnode.io | sudo bash -s -- --static-ip 192.168.1.100

Using a local profile for offline installation

sudo bash dappnode_install.sh --local-profile-path /path/to/.dappnode_profile

Combining flags

sudo wget -O - https://installer.dappnode.io | sudo bash -s -- --lite --static-ip 192.168.1.50 --update