Postman 在 CentOS 上是兼容的,但需要注意一些细节:
Postman 官方提供 Linux 版本(64 位),支持主流 Linux 发行版,包括:
# 下载
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
# 解压
tar -xzf postman.tar.gz -C /opt
# 运行
/opt/Postman/Postman
可再创建桌面快捷方式或软链接:
ln -s /opt/Postman/Postman /usr/local/bin/postman
CentOS 默认不带 snap,需手动安装,不太推荐。
Postman 基于 Electron,需要:
如果是 CentOS 服务器(无 GUI),Postman 无法直接使用,可考虑:
curl / httpienpm install -g newman
✅ CentOS 桌面版:完全可用
⚠️ CentOS 服务器版:只能用 Newman,不能用 GUI Postman
如果你说的是 CentOS 7 / 8 具体版本,我可以给你更精确的建议。