1. Docs
  2. Installation
  3. pikoinstall reference

pikoinstall reference

Every pikoinstall command and option, with examples for bootstrap, apply, deploy, status, templates and removal.

pikoinstall installs, converges and checks a PikoStack node. Run it as root. Every run is logged to /var/log/pikostack/deploy-latest.log.

Commands#

Command What it does
bootstrap One-command base install, then the web setup wizard on port 8443. --uninstall removes setup mode
apply <answers.yaml> Install or converge from an answers file. --dry-run prints the configuration diff and changes nothing
check Read-only pre-flight report: hardware, OS, network and ports
deploy Install from flags, or resume and converge an existing install
reconfigure Re-render configuration from /etc/pikostack/pikostack.conf and apply it to running services
smoke-test Boot a test VM and check networking, SSH and metadata
api-test Order a real VPS through the hosting API, verify SSH, hostname and internet access, then delete it
images list Show the OS template catalog
images add <key> Download, verify and import a template
status Installed stages, container health, compute and network agents
config Print the resolved configuration
destroy Remove all PikoStack services, data and configuration (asks for confirmation)

Options for deploy#

Option Meaning
--profile <core\|ha\|cloud> Service profile. core is validated; ha and cloud are experimental
--mgmt-if <iface> / --mgmt-ip <ipv4> Management interface and address (default: the default route's interface)
--ext-mode <nat\|nic> Networking mode
--ext-if <iface> Dedicated external interface (nic mode)
--nat-cidr <cidr> Instance network in NAT mode
--public-cidr, --public-gateway, --public-pool <start-end> Public subnet in nic mode
--dns <ip[,ip]> DNS servers for VMs
--virt-type <auto\|kvm\|qemu> Hardware acceleration
--volume-backend <none\|loop\|lvm> Volume storage
--volume-device <dev> / --volume-size <GB> LVM disk or loop file size
--images "<keys>" Templates to import during deploy
--mirror <url> PikoStack mirror for every package and image
--brand-vendor, --brand-product Names shown inside guests
--firewall <yes\|no> Default-deny host firewall
--public-ports <p[,p]> Ports open to everyone (default 22,6080,9999)
--trusted <cidr[,cidr]> Networks allowed to reach every service
--hostname <name> Rename the host first
--redo <stage[,stage]\|all> Re-run stages even if completed
--skip-smoke-test Do not boot a test VM at the end
--force-os Allow an unsupported OS (testing only)
-y, --yes Do not ask for confirmation

Stages#

deploy and apply run these stages in order and record each one, so a rerun skips what already finished:

preflight → host-packages → host-identity → host-kernel → host-firewall → extnet → volume-pool → engine-tools → engine-config → bootstrap → deploy → post-deploy → cloud-* → smoke-test → pikod-build → pikod-config → api-test

Examples#

sudo pikoinstall check
sudo pikoinstall deploy --volume-backend lvm --volume-device /dev/vdb
sudo pikoinstall images add debian-13
sudo pikoinstall deploy --redo smoke-test
sudo pikoinstall status

OS template keys#

cirros (test image), ubuntu-24.04, ubuntu-22.04, debian-13, debian-12, almalinux-9, rocky-9.

Something unclear or wrong on this page? Tell us. © 2026 PikoStack.