在 Ubuntu 上运行 Postman 主要有几种常见方式,下面按推荐程度给你说明。
chmod +x Postman-linux-x64-*.AppImage
./Postman-linux-x64-*.AppImage
适合不想折腾依赖的用户
# 下载
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
sudo snap install postman
运行:
postman
✅ 优点:自动更新
⚠ 注意:Snap 版本有时权限受限(如访问本地文件)
flatpak install flathub com.getpostman.Postman
flatpak run com.getpostman.Postman
如果你只是想跑接口测试,可以用 Postman 的 CLI 工具:
npm install -g newman
newman run your_collection.json
sudo apt install libnss3 libgconf-2-4
Postman 原生不支持中文,只能靠系统语言或第三方汉化(不推荐)
| 场景 | 推荐方式 |
|---|---|
| 普通桌面使用 | Snap / AppImage |
| 服务器 / 无 GUI | Newman |
| 想完全控制 | tar 包 |
如果你告诉我:
我可以给你更精确的方案。