文件
ParlzPackageManger/web/docs/md/install.md
T
JGZYES bb61090522 fix: bound registry http_get timeout so a flaky mirror falls back fast
The default mirror sz.pmm.parlz.com is intermittent (sometimes 404, sometimes
slow/hangs), and http_get used --max-time 60, so 'self-update'/'install' blocked
up to 60s before falling back to the healthy main mirror. Reduce to
--max-time 15 --connect-timeout 8 so a bad mirror fails over quickly.

Also bump site/version to 0.5.1 (the 0.5.0 install segfault is from an older
build; upgrading + this fallback removes the stall).
2026-09-05 20:14:20 +08:00

951 B
原始文件 Blame 文件历史

安装

所有安装包在官网 download/ 目录。

Linux / macOS 一键

curl -sSL https://pmm.parlz.com/download/install.sh | bash

Windows

下载并解压 zip,将 pmm.exe 加入 PATH

# PowerShell
Invoke-WebRequest https://pmm.parlz.com/download/pmm-0.5.1-windows-amd64.zip -OutFile pmm.zip
Expand-Archive pmm.zip -DestinationPath pmm

然后将 pmm\pmm.exe 所在目录加入 PATH。

Debian / Ubuntu.deb

curl -L -o pmm.deb https://pmm.parlz.com/download/pmm_0.5.1_amd64.deb
sudo apt install ./pmm.deb

CentOS / RHEL.rpm

curl -L -o pmm.rpm https://pmm.parlz.com/download/pmm-0.5.1.x86_64.rpm
sudo rpm -Uvh pmm.rpm

用 pmm 安装 pmm 自身

pmm install pmm==0.5.1

装好后

pmm search nodejs
pmm install nodejs
pmm list
pmm remove nodejs

详见 命令参考下载