镜像自地址
https://github.com/JGZYES/ParlzPackageManger.git
已同步 2026-09-11 08:52:45 +08:00
- New minimal index.php: brand hero (+ rotating Earth canvas) + entry cards to docs; no multi-page nav. - New web/docs/ Markdown site: docs/index.php renders sibling .md via the shared md() renderer (moved into _common.php). Pages: index/install/download/features/ cli/mirror/translate/source. - _common.php: slim nav (首页/文档), add md(), keep PMM_VERSION + layout. - Delete old multi-pages (features/install/download/servers/source/git/translate) and the release/asset serving (releases/, downloads/, root install.sh, status.php). Keep web/mirror/ (package registry + lang packs) so the pmm CLI and docs download links (GitHub Release) still work. - assets/style.css: add docs styling. mirror/index.php: fix deprecation. - Fix docs install/download links to point at GitHub Release (releases/ removed). Verified: php -l passes for _common/index/docs/mirror; homepage (globe+hero), docs pages and mirror render via the PHP built-in server; no stale references to deleted pages / releases / downloads / status remain.
50 行
1007 B
Markdown
50 行
1007 B
Markdown
# 安装
|
||
|
||
## Linux / macOS 一键
|
||
|
||
```bash
|
||
curl -sSL https://pmm.parlz.com/install.sh | bash
|
||
```
|
||
|
||
## Windows
|
||
|
||
下载并解压 zip,将 `pmm.exe` 加入 PATH:
|
||
|
||
```bash
|
||
# PowerShell
|
||
Invoke-WebRequest https://github.com/JGZYES/ParlzPackageManger/releases/latest/download/pmm-0.3.6-windows-amd64.zip -OutFile pmm.zip
|
||
Expand-Archive pmm.zip -DestinationPath pmm
|
||
# 然后将 pmm\pmm.exe 所在目录加入 PATH
|
||
```
|
||
|
||
## Debian / Ubuntu(.deb)
|
||
|
||
```bash
|
||
curl -L -o pmm.deb https://github.com/JGZYES/ParlzPackageManger/releases/latest/download/pmm_0.3.6_amd64.deb
|
||
sudo apt install ./pmm.deb
|
||
```
|
||
|
||
## CentOS / RHEL(.rpm)
|
||
|
||
```bash
|
||
curl -L -o pmm.rpm https://github.com/JGZYES/ParlzPackageManger/releases/latest/download/pmm-0.3.6-1.x86_64.rpm
|
||
sudo rpm -Uvh pmm.rpm
|
||
```
|
||
|
||
## 用 pmm 安装 pmm 自身
|
||
|
||
```bash
|
||
pmm install pmm==0.3.6
|
||
```
|
||
|
||
## 装好后
|
||
|
||
```bash
|
||
pmm search nodejs
|
||
pmm install nodejs
|
||
pmm list
|
||
pmm remove nodejs
|
||
```
|
||
|
||
详见 [命令参考](index.php?page=cli) 与 [下载](index.php?page=download)。
|