文件
ParlzPackageManger/web/docs/install.md
T
JGZYES 8877856f68 web: refactor to minimal homepage + docs site
- 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.
2026-09-05 11:40:21 +08:00

50 行
1007 B
Markdown
原始文件 Blame 文件历史

此文件含有模棱两可的 Unicode 字符
此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。
# 安装
## 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)。