温馨提示×

Debian装Postman用啥命令

小樊
44
2026-09-07 19:19:04
栏目: 智能运维

在 Debian 上“装 Postman”通常有两种常见方式,看你想要哪种:


方式一:用官方 Snap 安装(最简单,推荐)

Postman 官方主要提供 Snap 包。

sudo apt update
sudo apt install snapd -y
sudo snap install postman

安装完成后,在菜单里搜 Postman 即可,或运行:

postman

⚠️ 注意:Debian 默认不一定启用 Snap,部分精简系统需要先 systemctl enable --now snapd


方式二:下载官方 AppImage(不用 Snap)

如果你不想用 Snap:

cd ~
wget https://dl.pstmn.io/download/latest/linux64 -O postman.AppImage
chmod +x postman.AppImage
./postman.AppImage

可手动放到 /opt 并创建桌面快捷方式。


方式三:Debian 仓库(不推荐)

Debian 仓库里的 postman 通常是旧版本或不同软件,不建议:

sudo apt install postman

推荐:Snap 或 AppImage 如果你告诉我你的 Debian 版本(如 11 / 12),我可以给你更精确的命令。

0