在Ubuntu系統中,您可以通過以下幾種方式找到和安裝Postman:
sudo snap install postman
sudo tar -xzf Postman-linux-x64-*.tar.gz -C /opt
注意,將*替換為您下載的版本號。
3. 創建桌面圖標:
sudo ln -s /opt/Postman /usr/local/bin/postman
sudo touch /usr/share/applications/postman.desktop
sudo gedit /usr/share/applications/postman.desktop
在打開的文件中,輸入以下內容:
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=/opt/Postman/Postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
保存并關閉該文件。 4. 現在,您可以在應用程序菜單中找到Postman,或者使用以下命令來啟動Postman:
postman
由于Chrome網上應用店在2018年初停止了對Chrome應用程序的支持,因此這種方式已不再推薦。
希望這些信息能幫助您在Ubuntu系統中找到并安裝Postman。