Skip to content

Install

Prizrak-Core is a single binary, a drop-in replacement for mihomo. Download the file for your platform, unpack it and run it with a folder that holds config.yaml.

Files of the latest release (a filter narrows the list, e.g. linux-arm64 or .deb):

Loading the file list…

All versions are on the Releases page.

Part of the nameMeaning
amd64-v1, amd64-v2, amd64-v3x86-64 microarchitecture level. v3 (AVX2, CPUs from about 2015) is the fastest, v1 runs on any x86-64 CPU; when unsure, take v1. A plain amd64 file without a level is built for v3.
amd64-compatibleThe old name of amd64-v1; it will be removed.
-go120, -go122, -go123, -go124…Built with an older Go toolchain for old systems: Windows 7/8 and macOS 10.13–10.14 (go120), macOS 10.15 (go122), Linux kernels older than 3.2 (go123), macOS 11 (go124).
386-softfloat, mips-softfloat, mipsle-hardfloat…Variants for CPUs without (or with) a hardware FPU, typical for routers.
loong64-abi1, loong64-abi2Old and new LoongArch ABI.
.gz / .zipThe bare binary. .deb, .rpm, .pkg.tar.zst are packages for Debian/Ubuntu, Fedora/RHEL and Arch.
Terminal window
gunzip prizrak-core-linux-amd64-v1-*.gz
chmod +x prizrak-core-linux-amd64-v1-*
./prizrak-core-linux-amd64-v1-* -d /etc/prizrak-core

-d sets the working directory: the core reads config.yaml from it and keeps the geodata, provider files and the cache there. Other flags:

FlagEnvironment variableMeaning
-d <dir>CLASH_HOME_DIRWorking directory.
-f <file>CLASH_CONFIG_FILEConfig file (instead of <dir>/config.yaml).
-config <base64>CLASH_CONFIG_STRINGThe whole config as a base64 string.
-age-secret-key <key>CLASH_AGE_SECRET_KEYage secret key to decrypt an encrypted config.
-ext-ctl, -ext-ctl-tls, -ext-ctl-unix, -ext-ctl-pipeCLASH_OVERRIDE_EXTERNAL_CONTROLLER…Override the controller addresses.
-secret <s>CLASH_OVERRIDE_SECRETOverride the API secret.
-ext-ui <dir>CLASH_OVERRIDE_EXTERNAL_UI_DIROverride external-ui.
-post-up <cmd>, -post-down <cmd>CLASH_POST_UP, CLASH_POST_DOWNCommands run after start and before exit.
-mGeodata mode (.dat files instead of .mmdb).
-tTest the config and exit.
-vPrint the version.

To keep the core running in the background, see Run as a service.

Terminal window
docker run -d --name prizrak-core --network host \
-v /etc/prizrak-core:/root/.config/mihomo \
ghcr.io/legiz-ru/prizrak-core:latest

Prizrak-Box and other clients that ship Prizrak-Core are listed on the Clients page.