温馨提示×

ubuntu安装postman的详细教程

小云
434
2023-10-13 14:18:58
栏目: 智能运维

以下是在Ubuntu上安装Postman的详细步骤:

  1. 打开终端。

  2. 使用以下命令下载Postman的安装包:

wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
  1. 解压下载的安装包:
tar -xvf postman.tar.gz
  1. 移动解压后的文件夹到 /opt 目录下:
sudo mv Postman /opt
  1. 创建一个符号链接以便可以直接在终端中运行Postman:
sudo ln -s /opt/Postman/Postman /usr/local/bin/postman
  1. 创建一个桌面启动器图标:
sudo nano /usr/share/applications/postman.desktop
  1. 在打开的文件中,复制并粘贴以下内容:
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
  1. Ctrl + X 保存并退出nano编辑器。

  2. 现在,您可以在应用程序菜单中找到并打开Postman,或者在终端中运行 postman 命令启动Postman。

这样,您就成功在Ubuntu上安装了Postman。

0