@fredlackey/devutils 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
  3. package/src/commands/install.js +374 -36
  4. package/src/installs/adobe-creative-cloud.js +527 -25
  5. package/src/installs/adobe-creative-cloud.md +605 -0
  6. package/src/installs/appcleaner.js +303 -26
  7. package/src/installs/appcleaner.md +699 -0
  8. package/src/installs/apt-transport-https.js +390 -0
  9. package/src/installs/apt-transport-https.md +678 -0
  10. package/src/installs/atomicparsley.js +624 -26
  11. package/src/installs/atomicparsley.md +795 -0
  12. package/src/installs/aws-cli.js +779 -26
  13. package/src/installs/aws-cli.md +727 -0
  14. package/src/installs/balena-etcher.js +688 -26
  15. package/src/installs/balena-etcher.md +761 -0
  16. package/src/installs/bambu-studio.js +912 -26
  17. package/src/installs/bambu-studio.md +780 -0
  18. package/src/installs/bash-completion.js +554 -23
  19. package/src/installs/bash-completion.md +833 -0
  20. package/src/installs/bash.js +399 -26
  21. package/src/installs/bash.md +993 -0
  22. package/src/installs/beyond-compare.js +585 -26
  23. package/src/installs/beyond-compare.md +813 -0
  24. package/src/installs/build-essential.js +511 -26
  25. package/src/installs/build-essential.md +977 -0
  26. package/src/installs/ca-certificates.js +618 -0
  27. package/src/installs/ca-certificates.md +937 -0
  28. package/src/installs/caffeine.js +490 -26
  29. package/src/installs/caffeine.md +839 -0
  30. package/src/installs/camtasia.js +577 -25
  31. package/src/installs/camtasia.md +762 -0
  32. package/src/installs/chatgpt.js +458 -26
  33. package/src/installs/chatgpt.md +814 -0
  34. package/src/installs/chocolatey.js +447 -0
  35. package/src/installs/chocolatey.md +661 -0
  36. package/src/installs/chrome-canary.js +472 -26
  37. package/src/installs/chrome-canary.md +641 -0
  38. package/src/installs/chromium.js +645 -26
  39. package/src/installs/chromium.md +838 -0
  40. package/src/installs/claude-code.js +558 -26
  41. package/src/installs/claude-code.md +1173 -0
  42. package/src/installs/curl.js +361 -26
  43. package/src/installs/curl.md +714 -0
  44. package/src/installs/cursor.js +561 -26
  45. package/src/installs/cursor.md +970 -0
  46. package/src/installs/dbschema.js +674 -26
  47. package/src/installs/dbschema.md +925 -0
  48. package/src/installs/dependencies.md +435 -0
  49. package/src/installs/development-tools.js +600 -0
  50. package/src/installs/development-tools.md +977 -0
  51. package/src/installs/docker.js +1010 -25
  52. package/src/installs/docker.md +1109 -0
  53. package/src/installs/drawio.js +1001 -26
  54. package/src/installs/drawio.md +795 -0
  55. package/src/installs/elmedia-player.js +328 -25
  56. package/src/installs/elmedia-player.md +556 -0
  57. package/src/installs/ffmpeg.js +870 -25
  58. package/src/installs/ffmpeg.md +852 -0
  59. package/src/installs/file.js +464 -0
  60. package/src/installs/file.md +987 -0
  61. package/src/installs/gemini-cli.js +793 -26
  62. package/src/installs/gemini-cli.md +1153 -0
  63. package/src/installs/git.js +382 -26
  64. package/src/installs/git.md +907 -0
  65. package/src/installs/gitego.js +931 -26
  66. package/src/installs/gitego.md +1172 -0
  67. package/src/installs/go.js +913 -26
  68. package/src/installs/go.md +958 -0
  69. package/src/installs/google-chrome.js +801 -25
  70. package/src/installs/google-chrome.md +862 -0
  71. package/src/installs/gpg.js +412 -73
  72. package/src/installs/gpg.md +1056 -0
  73. package/src/installs/homebrew.js +1015 -26
  74. package/src/installs/homebrew.md +988 -0
  75. package/src/installs/imageoptim.js +950 -26
  76. package/src/installs/imageoptim.md +1119 -0
  77. package/src/installs/installers.json +2297 -0
  78. package/src/installs/jq.js +382 -26
  79. package/src/installs/jq.md +809 -0
  80. package/src/installs/keyboard-maestro.js +701 -26
  81. package/src/installs/keyboard-maestro.md +825 -0
  82. package/src/installs/latex.js +771 -26
  83. package/src/installs/latex.md +1095 -0
  84. package/src/installs/lftp.js +338 -26
  85. package/src/installs/lftp.md +907 -0
  86. package/src/installs/lsb-release.js +346 -0
  87. package/src/installs/lsb-release.md +814 -0
  88. package/src/installs/messenger.js +829 -26
  89. package/src/installs/messenger.md +900 -0
  90. package/src/installs/microsoft-office.js +550 -26
  91. package/src/installs/microsoft-office.md +760 -0
  92. package/src/installs/microsoft-teams.js +782 -25
  93. package/src/installs/microsoft-teams.md +886 -0
  94. package/src/installs/node.js +886 -26
  95. package/src/installs/node.md +1153 -0
  96. package/src/installs/nordpass.js +698 -26
  97. package/src/installs/nordpass.md +921 -0
  98. package/src/installs/nvm.js +977 -26
  99. package/src/installs/nvm.md +1057 -0
  100. package/src/installs/openssh.js +734 -64
  101. package/src/installs/openssh.md +1056 -0
  102. package/src/installs/pandoc.js +644 -26
  103. package/src/installs/pandoc.md +1036 -0
  104. package/src/installs/pinentry.js +492 -26
  105. package/src/installs/pinentry.md +1142 -0
  106. package/src/installs/pngyu.js +851 -26
  107. package/src/installs/pngyu.md +896 -0
  108. package/src/installs/postman.js +781 -26
  109. package/src/installs/postman.md +940 -0
  110. package/src/installs/procps.js +425 -0
  111. package/src/installs/procps.md +851 -0
  112. package/src/installs/safari-tech-preview.js +355 -25
  113. package/src/installs/safari-tech-preview.md +533 -0
  114. package/src/installs/sfnt2woff.js +640 -26
  115. package/src/installs/sfnt2woff.md +795 -0
  116. package/src/installs/shellcheck.js +463 -26
  117. package/src/installs/shellcheck.md +1005 -0
  118. package/src/installs/slack.js +722 -25
  119. package/src/installs/slack.md +865 -0
  120. package/src/installs/snagit.js +566 -25
  121. package/src/installs/snagit.md +844 -0
  122. package/src/installs/software-properties-common.js +372 -0
  123. package/src/installs/software-properties-common.md +805 -0
  124. package/src/installs/spotify.js +858 -25
  125. package/src/installs/spotify.md +901 -0
  126. package/src/installs/studio-3t.js +803 -26
  127. package/src/installs/studio-3t.md +918 -0
  128. package/src/installs/sublime-text.js +780 -25
  129. package/src/installs/sublime-text.md +914 -0
  130. package/src/installs/superwhisper.js +687 -25
  131. package/src/installs/superwhisper.md +630 -0
  132. package/src/installs/tailscale.js +727 -26
  133. package/src/installs/tailscale.md +1100 -0
  134. package/src/installs/tar.js +389 -0
  135. package/src/installs/tar.md +946 -0
  136. package/src/installs/termius.js +780 -26
  137. package/src/installs/termius.md +844 -0
  138. package/src/installs/terraform.js +761 -26
  139. package/src/installs/terraform.md +899 -0
  140. package/src/installs/tidal.js +752 -25
  141. package/src/installs/tidal.md +864 -0
  142. package/src/installs/tmux.js +328 -26
  143. package/src/installs/tmux.md +1030 -0
  144. package/src/installs/tree.js +393 -26
  145. package/src/installs/tree.md +833 -0
  146. package/src/installs/unzip.js +460 -0
  147. package/src/installs/unzip.md +879 -0
  148. package/src/installs/vim.js +403 -26
  149. package/src/installs/vim.md +1040 -0
  150. package/src/installs/vlc.js +803 -26
  151. package/src/installs/vlc.md +927 -0
  152. package/src/installs/vscode.js +825 -26
  153. package/src/installs/vscode.md +1002 -0
  154. package/src/installs/wget.js +415 -0
  155. package/src/installs/wget.md +791 -0
  156. package/src/installs/whatsapp.js +710 -25
  157. package/src/installs/whatsapp.md +854 -0
  158. package/src/installs/winpty.js +352 -0
  159. package/src/installs/winpty.md +620 -0
  160. package/src/installs/woff2.js +535 -26
  161. package/src/installs/woff2.md +977 -0
  162. package/src/installs/wsl.js +572 -0
  163. package/src/installs/wsl.md +699 -0
  164. package/src/installs/xcode-clt.js +520 -0
  165. package/src/installs/xcode-clt.md +351 -0
  166. package/src/installs/xcode.js +542 -26
  167. package/src/installs/xcode.md +573 -0
  168. package/src/installs/yarn.js +806 -26
  169. package/src/installs/yarn.md +1074 -0
  170. package/src/installs/yq.js +636 -26
  171. package/src/installs/yq.md +944 -0
  172. package/src/installs/yt-dlp.js +683 -26
  173. package/src/installs/yt-dlp.md +946 -0
  174. package/src/installs/yum-utils.js +297 -0
  175. package/src/installs/yum-utils.md +648 -0
  176. package/src/installs/zoom.js +740 -25
  177. package/src/installs/zoom.md +884 -0
  178. package/src/scripts/README.md +567 -45
  179. package/src/scripts/STATUS.md +208 -0
  180. package/src/scripts/afk.js +395 -7
  181. package/src/scripts/backup-all.js +731 -9
  182. package/src/scripts/backup-source.js +711 -8
  183. package/src/scripts/brewd.js +373 -7
  184. package/src/scripts/brewi.js +505 -9
  185. package/src/scripts/brewr.js +512 -9
  186. package/src/scripts/brews.js +462 -9
  187. package/src/scripts/brewu.js +488 -7
  188. package/src/scripts/c.js +185 -7
  189. package/src/scripts/ccurl.js +325 -8
  190. package/src/scripts/certbot-crontab-init.js +488 -8
  191. package/src/scripts/certbot-init.js +641 -9
  192. package/src/scripts/ch.js +339 -7
  193. package/src/scripts/claude-danger.js +253 -8
  194. package/src/scripts/clean-dev.js +419 -8
  195. package/src/scripts/clear-dns-cache.js +525 -7
  196. package/src/scripts/clone.js +417 -7
  197. package/src/scripts/code-all.js +420 -7
  198. package/src/scripts/count-files.js +195 -8
  199. package/src/scripts/count-folders.js +195 -8
  200. package/src/scripts/count.js +248 -8
  201. package/src/scripts/d.js +203 -7
  202. package/src/scripts/datauri.js +373 -8
  203. package/src/scripts/delete-files.js +363 -7
  204. package/src/scripts/docker-clean.js +410 -8
  205. package/src/scripts/dp.js +426 -7
  206. package/src/scripts/e.js +375 -9
  207. package/src/scripts/empty-trash.js +497 -7
  208. package/src/scripts/evm.js +428 -9
  209. package/src/scripts/fetch-github-repos.js +441 -10
  210. package/src/scripts/get-channel.js +329 -8
  211. package/src/scripts/get-course.js +384 -11
  212. package/src/scripts/get-dependencies.js +290 -9
  213. package/src/scripts/get-folder.js +783 -10
  214. package/src/scripts/get-tunes.js +411 -10
  215. package/src/scripts/get-video.js +352 -9
  216. package/src/scripts/git-backup.js +561 -9
  217. package/src/scripts/git-clone.js +477 -9
  218. package/src/scripts/git-pup.js +303 -7
  219. package/src/scripts/git-push.js +380 -8
  220. package/src/scripts/h.js +607 -9
  221. package/src/scripts/hide-desktop-icons.js +483 -7
  222. package/src/scripts/hide-hidden-files.js +522 -7
  223. package/src/scripts/install-dependencies-from.js +440 -9
  224. package/src/scripts/ips.js +647 -10
  225. package/src/scripts/iso.js +354 -8
  226. package/src/scripts/killni.js +561 -7
  227. package/src/scripts/ll.js +451 -8
  228. package/src/scripts/local-ip.js +310 -8
  229. package/src/scripts/m.js +508 -8
  230. package/src/scripts/map.js +293 -8
  231. package/src/scripts/mkd.js +287 -7
  232. package/src/scripts/ncu-update-all.js +441 -8
  233. package/src/scripts/nginx-init.js +702 -12
  234. package/src/scripts/npmi.js +366 -7
  235. package/src/scripts/o.js +495 -8
  236. package/src/scripts/org-by-date.js +321 -7
  237. package/src/scripts/p.js +208 -7
  238. package/src/scripts/packages.js +313 -8
  239. package/src/scripts/path.js +209 -7
  240. package/src/scripts/ports.js +582 -8
  241. package/src/scripts/q.js +290 -8
  242. package/src/scripts/refresh-files.js +378 -10
  243. package/src/scripts/remove-smaller-files.js +500 -8
  244. package/src/scripts/rename-files-with-date.js +517 -9
  245. package/src/scripts/resize-image.js +523 -9
  246. package/src/scripts/rm-safe.js +653 -8
  247. package/src/scripts/s.js +525 -9
  248. package/src/scripts/set-git-public.js +349 -7
  249. package/src/scripts/show-desktop-icons.js +459 -7
  250. package/src/scripts/show-hidden-files.js +456 -7
  251. package/src/scripts/tpa.js +265 -8
  252. package/src/scripts/tpo.js +264 -7
  253. package/src/scripts/u.js +489 -7
  254. package/src/scripts/vpush.js +422 -8
  255. package/src/scripts/y.js +267 -7
  256. package/src/utils/common/os.js +94 -2
  257. package/src/utils/ubuntu/apt.js +13 -7
  258. package/src/utils/windows/choco.js +82 -26
  259. package/src/utils/windows/winget.js +89 -27
@@ -0,0 +1,940 @@
1
+ # Installing Postman
2
+
3
+ ## Overview
4
+
5
+ Postman is a collaboration platform for API development that simplifies each step of building and testing APIs. It provides a comprehensive environment for designing, testing, documenting, and monitoring APIs. Postman offers:
6
+
7
+ - **API Request Builder**: Create and send HTTP requests with various methods (GET, POST, PUT, DELETE, etc.)
8
+ - **Collections**: Organize and save API requests for reuse and sharing
9
+ - **Environment Variables**: Manage different configurations for development, staging, and production
10
+ - **Automated Testing**: Write tests in JavaScript to validate API responses
11
+ - **Documentation**: Generate API documentation automatically from collections
12
+ - **Mock Servers**: Create mock API endpoints for development and testing
13
+
14
+ Postman is available as a desktop application for macOS, Windows, and Linux, as well as a web application at go.postman.co. The desktop application provides the full feature set including local file access and the ability to work with localhost APIs without CORS restrictions.
15
+
16
+ ## Dependencies
17
+
18
+ ### macOS (Homebrew)
19
+ - **Required:**
20
+ - `homebrew` - Package manager for macOS (Install via: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`)
21
+ - **Optional:** None
22
+ - **Auto-installed:** None (Homebrew manages all Postman dependencies internally via the cask)
23
+
24
+ ### Ubuntu (APT/Snap)
25
+ - **Required:**
26
+ - `snapd` - Snap package manager (Usually pre-installed on Ubuntu 16.04+, or install via: `sudo apt-get install -y snapd`)
27
+ - **Optional:** None
28
+ - **Auto-installed:**
29
+ - All required libraries are bundled within the Snap package itself
30
+
31
+ ### Raspberry Pi OS (APT/Snap)
32
+ - **Required:**
33
+ - `wget` - Download tool for fetching the ARM64 tarball (Usually pre-installed, or install via: `sudo apt-get install -y wget`)
34
+ - `tar` - Archive extraction tool (Usually pre-installed, or install via: `sudo apt-get install -y tar`)
35
+ - **Optional:**
36
+ - `libgtk-3-0` - GTK+ 3 GUI library (Install via: `sudo apt-get install -y libgtk-3-0`)
37
+ - `libnotify4` - Desktop notification library (Install via: `sudo apt-get install -y libnotify4`)
38
+ - `libnss3` - Network Security Services library (Install via: `sudo apt-get install -y libnss3`)
39
+ - `libxss1` - X11 Screen Saver extension library (Install via: `sudo apt-get install -y libxss1`)
40
+ - `libxtst6` - X11 Testing library (Install via: `sudo apt-get install -y libxtst6`)
41
+ - `xdg-utils` - Desktop integration utilities (Install via: `sudo apt-get install -y xdg-utils`)
42
+ - `libatspi2.0-0` - Assistive Technology Service Provider Interface (Install via: `sudo apt-get install -y libatspi2.0-0`)
43
+ - `libsecret-1-0` - Secret storage library (Install via: `sudo apt-get install -y libsecret-1-0`)
44
+ - **Auto-installed:** None
45
+ - **Note:** Optional dependencies may be required at runtime if shared library errors occur (installer will display these in troubleshooting output)
46
+
47
+ ### Amazon Linux (DNF/YUM)
48
+ - **Required:** None
49
+ - **Optional:** None
50
+ - **Auto-installed:** None
51
+ - **Note:** Installation not supported - Postman is a GUI application and Amazon Linux typically runs headless without a display server
52
+
53
+ ### Windows (Chocolatey/winget)
54
+ - **Required:**
55
+ - `chocolatey` - Package manager for Windows (Install via Administrator PowerShell: `Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))`)
56
+ - **Optional:** None
57
+ - **Auto-installed:** All Postman dependencies are handled by Chocolatey during installation
58
+
59
+ ### Git Bash (Manual/Portable)
60
+ - **Required:**
61
+ - `chocolatey` - Package manager installed on Windows host (Install on Windows via Administrator PowerShell)
62
+ - `powershell.exe` - PowerShell for executing Chocolatey commands (Pre-installed on Windows)
63
+ - **Optional:** None
64
+ - **Auto-installed:** All Postman dependencies are handled by Chocolatey on the Windows host
65
+
66
+ ## Prerequisites
67
+
68
+ Before installing Postman on any platform, ensure:
69
+
70
+ 1. **Internet connectivity** - Required to download Postman and for account features
71
+ 2. **Administrative privileges** - Required for system-wide installation on most platforms
72
+ 3. **Sufficient resources** - Minimum 4 GB RAM and 2 GB free disk space recommended
73
+ 4. **Display** - Postman requires a graphical display environment
74
+
75
+ **Important**: Postman is an Electron-based application. Some platforms (particularly ARM-based Linux systems) have limited support.
76
+
77
+ ## Platform-Specific Installation
78
+
79
+ ### macOS (Homebrew)
80
+
81
+ #### Prerequisites
82
+
83
+ - macOS 11 (Big Sur) or later
84
+ - Homebrew package manager installed
85
+ - At least 4 GB RAM
86
+ - Apple Silicon (M1/M2/M3/M4) or Intel processor
87
+
88
+ If Homebrew is not installed, install it first:
89
+
90
+ ```bash
91
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
92
+ ```
93
+
94
+ #### Installation Steps
95
+
96
+ Run the following command to install Postman:
97
+
98
+ ```bash
99
+ brew install --quiet --cask postman
100
+ ```
101
+
102
+ The `--quiet` flag suppresses non-essential output, and `--cask` specifies the graphical application version. This command installs Postman to your Applications folder automatically.
103
+
104
+ After installation, launch Postman from the Applications folder or via command line:
105
+
106
+ ```bash
107
+ open -a Postman
108
+ ```
109
+
110
+ **Note**: On first launch, Postman will prompt you to sign in or create an account. You can skip this and use Postman in "Lightweight API Client" mode, though some features require an account.
111
+
112
+ #### Verification
113
+
114
+ Confirm the installation succeeded by checking if the application exists:
115
+
116
+ ```bash
117
+ ls -la /Applications/Postman.app
118
+ ```
119
+
120
+ Expected output should show the Postman.app directory with recent modification dates.
121
+
122
+ Launch Postman to verify it opens correctly:
123
+
124
+ ```bash
125
+ open -a Postman
126
+ ```
127
+
128
+ The application should launch and display the main Postman interface.
129
+
130
+ #### Troubleshooting
131
+
132
+ **Problem**: `Error: Cask 'postman' is already installed`
133
+
134
+ **Solution**: If you need to reinstall, first uninstall then reinstall:
135
+
136
+ ```bash
137
+ brew uninstall --cask postman
138
+ brew install --quiet --cask postman
139
+ ```
140
+
141
+ **Problem**: Application does not launch or crashes immediately
142
+
143
+ **Solution**: Clear Postman's cache and try again:
144
+
145
+ ```bash
146
+ rm -rf ~/Library/Application\ Support/Postman
147
+ rm -rf ~/Library/Caches/Postman
148
+ open -a Postman
149
+ ```
150
+
151
+ **Problem**: "Postman cannot be opened because Apple cannot check it for malicious software"
152
+
153
+ **Solution**: Right-click the Postman application in Finder and select "Open" to bypass Gatekeeper, or allow it in System Preferences > Security & Privacy.
154
+
155
+ ---
156
+
157
+ ### Ubuntu/Debian (Snap)
158
+
159
+ #### Prerequisites
160
+
161
+ - Ubuntu 16.04 LTS or later, or Debian 10 (Buster) or later (64-bit)
162
+ - sudo privileges
163
+ - Snap package manager (pre-installed on Ubuntu 16.04+)
164
+ - X11 or Wayland display server for GUI
165
+
166
+ If snap is not installed (rare on modern Ubuntu):
167
+
168
+ ```bash
169
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
170
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y snapd
171
+ ```
172
+
173
+ For Ubuntu 18.04, install an additional library required by Postman:
174
+
175
+ ```bash
176
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libgconf-2-4
177
+ ```
178
+
179
+ #### Installation Steps
180
+
181
+ Run the following command to install Postman via Snap:
182
+
183
+ ```bash
184
+ sudo snap install postman
185
+ ```
186
+
187
+ Snap automatically handles all dependencies and bundles required libraries with the application. This is the installation method recommended by Postman.
188
+
189
+ After installation, launch Postman:
190
+
191
+ ```bash
192
+ postman &
193
+ ```
194
+
195
+ The ampersand (`&`) runs Postman in the background, freeing your terminal.
196
+
197
+ #### Verification
198
+
199
+ Confirm the installation succeeded:
200
+
201
+ ```bash
202
+ snap list postman
203
+ ```
204
+
205
+ Expected output shows Postman with version information:
206
+
207
+ ```
208
+ Name Version Rev Tracking Publisher Notes
209
+ postman 11.71.7 282 latest/stable postman-inc -
210
+ ```
211
+
212
+ Verify Postman launches correctly:
213
+
214
+ ```bash
215
+ postman &
216
+ ```
217
+
218
+ The Postman window should appear within a few seconds.
219
+
220
+ #### Troubleshooting
221
+
222
+ **Problem**: `error: snap "postman" is not available on stable for this architecture`
223
+
224
+ **Solution**: This error typically occurs on 32-bit systems. Postman requires 64-bit architecture. Check your architecture:
225
+
226
+ ```bash
227
+ uname -m
228
+ ```
229
+
230
+ If output is `i686` or `i386`, you have a 32-bit system which is not supported. Use the Postman web application at https://go.postman.co instead.
231
+
232
+ **Problem**: Postman fails to launch with GPU/rendering errors
233
+
234
+ **Solution**: Disable GPU acceleration by launching with:
235
+
236
+ ```bash
237
+ postman --disable-gpu &
238
+ ```
239
+
240
+ To make this permanent, create a wrapper script or alias.
241
+
242
+ **Problem**: "cannot communicate with server: Post ... dial unix /run/snapd.socket"
243
+
244
+ **Solution**: The snap daemon is not running. Start it:
245
+
246
+ ```bash
247
+ sudo systemctl start snapd
248
+ sudo systemctl enable snapd
249
+ ```
250
+
251
+ **Problem**: Postman opens but shows blank window
252
+
253
+ **Solution**: This can occur with certain display configurations. Try:
254
+
255
+ ```bash
256
+ postman --disable-gpu --no-sandbox &
257
+ ```
258
+
259
+ ---
260
+
261
+ ### Raspberry Pi OS (APT)
262
+
263
+ #### Prerequisites
264
+
265
+ - Raspberry Pi OS (64-bit strongly recommended) - Bookworm or later
266
+ - Raspberry Pi 4 or later with at least 4 GB RAM
267
+ - 64-bit operating system (aarch64/arm64 architecture)
268
+ - sudo privileges
269
+ - X11 display server for GUI
270
+
271
+ **Important Architecture Limitation**: Postman's native desktop application has limited official support for ARM64 Linux. While the Snap store lists Postman for ARM64, users have reported installation and runtime issues on Raspberry Pi hardware.
272
+
273
+ First, verify your architecture:
274
+
275
+ ```bash
276
+ uname -m
277
+ ```
278
+
279
+ Expected output for compatible systems: `aarch64`
280
+
281
+ If output is `armv7l`, you have a 32-bit system. The native Postman application does not support 32-bit ARM. Use the alternatives documented below.
282
+
283
+ #### Installation Steps
284
+
285
+ **Method: Manual Tarball Installation (ARM64)**
286
+
287
+ Download and extract Postman using the ARM64 tarball:
288
+
289
+ ```bash
290
+ # Create installation directory
291
+ sudo mkdir -p /opt
292
+
293
+ # Download the latest ARM64 version
294
+ wget -q https://dl.pstmn.io/download/latest/linux_arm64 -O /tmp/postman-linux-arm64.tar.gz
295
+
296
+ # Extract to /opt
297
+ sudo tar -xzf /tmp/postman-linux-arm64.tar.gz -C /opt/
298
+
299
+ # Create symbolic link for command-line access
300
+ sudo ln -sf /opt/Postman/Postman /usr/local/bin/postman
301
+
302
+ # Clean up
303
+ rm /tmp/postman-linux-arm64.tar.gz
304
+ ```
305
+
306
+ Create a desktop entry for the application launcher:
307
+
308
+ ```bash
309
+ sudo tee /usr/share/applications/postman.desktop > /dev/null <<'EOF'
310
+ [Desktop Entry]
311
+ Encoding=UTF-8
312
+ Name=Postman
313
+ Exec=/opt/Postman/Postman %U
314
+ Icon=/opt/Postman/app/resources/app/assets/icon.png
315
+ Terminal=false
316
+ Type=Application
317
+ Categories=Development;
318
+ Comment=API Development Environment
319
+ EOF
320
+ ```
321
+
322
+ #### Verification
323
+
324
+ Confirm the installation succeeded:
325
+
326
+ ```bash
327
+ ls -la /opt/Postman/Postman
328
+ ```
329
+
330
+ Expected output shows the Postman executable file.
331
+
332
+ Verify the symbolic link works:
333
+
334
+ ```bash
335
+ which postman
336
+ ```
337
+
338
+ Expected output: `/usr/local/bin/postman`
339
+
340
+ Launch Postman:
341
+
342
+ ```bash
343
+ postman &
344
+ ```
345
+
346
+ #### Troubleshooting
347
+
348
+ **Problem**: Download URL returns 404 or redirects to website
349
+
350
+ **Solution**: The ARM64 build may not be available for the latest version. Check the Postman downloads page for current ARM64 availability, or use Newman CLI as an alternative.
351
+
352
+ **Problem**: "error while loading shared libraries"
353
+
354
+ **Solution**: Install missing dependencies:
355
+
356
+ ```bash
357
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
358
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libgtk-3-0 libnotify4 libnss3 libxss1 libxtst6 xdg-utils libatspi2.0-0 libsecret-1-0
359
+ ```
360
+
361
+ **Problem**: Application crashes or fails to start on Raspberry Pi
362
+
363
+ **Solution**: Raspberry Pi ARM64 support is limited. Use one of these alternatives:
364
+
365
+ **Alternative 1 - Newman CLI** (Recommended for Raspberry Pi):
366
+
367
+ Newman is Postman's command-line collection runner. It works reliably on ARM64:
368
+
369
+ ```bash
370
+ # Install Node.js if not present
371
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs npm
372
+
373
+ # Install Newman globally
374
+ sudo npm install -g newman
375
+ ```
376
+
377
+ Use Newman to run Postman collections:
378
+
379
+ ```bash
380
+ newman run your-collection.json
381
+ ```
382
+
383
+ **Alternative 2 - Postman Web Application**:
384
+
385
+ Access Postman via web browser at https://go.postman.co. This provides most features without requiring native installation.
386
+
387
+ ---
388
+
389
+ ### Amazon Linux/RHEL (DNF/YUM)
390
+
391
+ #### Prerequisites
392
+
393
+ - Amazon Linux 2023, Amazon Linux 2, RHEL 8, or later
394
+ - sudo privileges
395
+ - X11 display server for GUI (typically not available on server instances)
396
+ - At least 4 GB RAM
397
+
398
+ **Important**: Amazon Linux EC2 instances typically run headless (no GUI). Postman is a graphical application and requires a display. For headless environments, use Newman CLI instead.
399
+
400
+ For systems with a graphical desktop environment, proceed with the installation below.
401
+
402
+ #### Installation Steps
403
+
404
+ **For Amazon Linux 2023 / RHEL 8+ with GUI:**
405
+
406
+ Install Postman via Snap. First, install and configure snapd:
407
+
408
+ ```bash
409
+ # Install EPEL repository (required for snapd)
410
+ sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
411
+
412
+ # Update package cache
413
+ sudo dnf update -y
414
+
415
+ # Install snapd
416
+ sudo dnf install -y snapd
417
+
418
+ # Enable and start snapd
419
+ sudo systemctl enable --now snapd.socket
420
+
421
+ # Create symbolic link for classic snap support
422
+ sudo ln -sf /var/lib/snapd/snap /snap
423
+ ```
424
+
425
+ Log out and log back in, or start a new shell session for PATH changes to take effect.
426
+
427
+ Install Postman:
428
+
429
+ ```bash
430
+ sudo snap install postman
431
+ ```
432
+
433
+ **For Amazon Linux 2 with GUI:**
434
+
435
+ ```bash
436
+ # Install EPEL repository
437
+ sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
438
+
439
+ # Update package cache
440
+ sudo yum update -y
441
+
442
+ # Install snapd
443
+ sudo yum install -y snapd
444
+
445
+ # Enable and start snapd
446
+ sudo systemctl enable --now snapd.socket
447
+
448
+ # Create symbolic link
449
+ sudo ln -sf /var/lib/snapd/snap /snap
450
+ ```
451
+
452
+ Log out and log back in, then install Postman:
453
+
454
+ ```bash
455
+ sudo snap install postman
456
+ ```
457
+
458
+ **For Headless Servers (No GUI) - Newman CLI:**
459
+
460
+ If you need API testing capabilities on a headless Amazon Linux server, install Newman:
461
+
462
+ ```bash
463
+ # For Amazon Linux 2023
464
+ sudo dnf install -y nodejs npm
465
+
466
+ # For Amazon Linux 2
467
+ curl -fsSL https://rpm.nodesource.com/setup_lts.x | sudo bash -
468
+ sudo yum install -y nodejs
469
+
470
+ # Install Newman
471
+ sudo npm install -g newman
472
+ ```
473
+
474
+ #### Verification
475
+
476
+ For Snap installation, confirm it succeeded:
477
+
478
+ ```bash
479
+ snap list postman
480
+ ```
481
+
482
+ Expected output shows Postman with version information.
483
+
484
+ For Newman installation, verify:
485
+
486
+ ```bash
487
+ newman --version
488
+ ```
489
+
490
+ Expected output shows Newman version number.
491
+
492
+ #### Troubleshooting
493
+
494
+ **Problem**: `error: cannot communicate with server: Post ... dial unix /run/snapd.socket`
495
+
496
+ **Solution**: Start the snapd service:
497
+
498
+ ```bash
499
+ sudo systemctl start snapd.socket
500
+ sudo systemctl start snapd.service
501
+ ```
502
+
503
+ **Problem**: `error: snap "postman" not found`
504
+
505
+ **Solution**: Ensure snapd is properly installed and the snap store is accessible. Check connectivity:
506
+
507
+ ```bash
508
+ snap find postman
509
+ ```
510
+
511
+ **Problem**: Postman fails to launch with display errors
512
+
513
+ **Solution**: Postman requires a graphical display. For EC2 instances, either:
514
+ 1. Connect via VNC/RDP to a GUI desktop session
515
+ 2. Use X11 forwarding with SSH (`ssh -X`)
516
+ 3. Use Newman CLI for headless API testing
517
+
518
+ ---
519
+
520
+ ### Windows (Chocolatey/winget)
521
+
522
+ #### Prerequisites
523
+
524
+ - Windows 10 version 21H2 or higher (64-bit), or Windows 11
525
+ - At least 4 GB RAM
526
+ - Administrator PowerShell or Command Prompt
527
+ - Chocolatey package manager installed
528
+
529
+ **Note**: Postman v9.5 and later requires 64-bit Windows. Version 9.4 was the last to support 32-bit systems.
530
+
531
+ If Chocolatey is not installed, install it first by running this command in an Administrator PowerShell:
532
+
533
+ ```powershell
534
+ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
535
+ ```
536
+
537
+ #### Installation Steps
538
+
539
+ Run the following command in an Administrator PowerShell or Command Prompt:
540
+
541
+ ```powershell
542
+ choco install postman -y
543
+ ```
544
+
545
+ The `-y` flag automatically confirms all prompts, enabling fully non-interactive installation. Chocolatey handles downloading, installation, and PATH configuration automatically.
546
+
547
+ After installation, Postman can be launched from the Start Menu or via command line:
548
+
549
+ ```powershell
550
+ postman
551
+ ```
552
+
553
+ **Note**: On first launch, Postman will prompt you to sign in or create an account. You can skip this for basic functionality.
554
+
555
+ #### Verification
556
+
557
+ Open a new Command Prompt or PowerShell window, then verify Postman is installed:
558
+
559
+ ```powershell
560
+ choco list postman
561
+ ```
562
+
563
+ Expected output shows Postman with version information:
564
+
565
+ ```
566
+ postman 11.46.6
567
+ 1 packages installed.
568
+ ```
569
+
570
+ Launch Postman to verify it opens correctly:
571
+
572
+ ```powershell
573
+ postman
574
+ ```
575
+
576
+ The application should launch and display the main Postman interface.
577
+
578
+ #### Troubleshooting
579
+
580
+ **Problem**: `choco: command not found` or `'choco' is not recognized`
581
+
582
+ **Solution**: Chocolatey is not installed or not in PATH. Install Chocolatey first (see Prerequisites), then open a new terminal window.
583
+
584
+ **Problem**: Installation fails with permission errors
585
+
586
+ **Solution**: Run PowerShell as Administrator. Right-click PowerShell in the Start Menu and select "Run as administrator".
587
+
588
+ **Problem**: Postman fails to launch after installation
589
+
590
+ **Solution**: Restart your computer to ensure all components are properly registered, then try launching again.
591
+
592
+ **Problem**: Windows Defender blocks installation
593
+
594
+ **Solution**: Temporarily disable real-time protection during installation, or add Chocolatey and Postman to exclusions. Postman is a legitimate application and false positives can occur.
595
+
596
+ ---
597
+
598
+ ### WSL (Ubuntu)
599
+
600
+ #### Prerequisites
601
+
602
+ - Windows 10 version 2004 or higher, or Windows 11
603
+ - WSL 2 enabled with Ubuntu distribution installed
604
+ - WSLg enabled (Windows 11 or Windows 10 build 21364+) for GUI application support
605
+ - sudo privileges within WSL
606
+
607
+ **Note**: Running GUI applications in WSL requires WSLg (Windows Subsystem for Linux GUI). Without WSLg, you cannot run Postman's graphical interface in WSL.
608
+
609
+ To check if WSLg is available:
610
+
611
+ ```bash
612
+ echo $DISPLAY
613
+ ```
614
+
615
+ If this returns a value (e.g., `:0`), WSLg is configured.
616
+
617
+ #### Installation Steps
618
+
619
+ Install Postman via Snap within your WSL Ubuntu environment:
620
+
621
+ ```bash
622
+ # Ensure snapd is installed and running
623
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
624
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y snapd
625
+
626
+ # Install Postman
627
+ sudo snap install postman
628
+ ```
629
+
630
+ After installation, launch Postman:
631
+
632
+ ```bash
633
+ postman &
634
+ ```
635
+
636
+ The Postman window should appear as a Windows application window (rendered through WSLg).
637
+
638
+ **Alternative without WSLg - Use Windows Postman:**
639
+
640
+ If WSLg is not available, install Postman on Windows (see Windows section) and access it from WSL via interop:
641
+
642
+ ```bash
643
+ # Launch Windows Postman from WSL
644
+ /mnt/c/Users/*/AppData/Local/Postman/Postman.exe &
645
+ ```
646
+
647
+ Or use Newman CLI for command-line API testing:
648
+
649
+ ```bash
650
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs npm
651
+ sudo npm install -g newman
652
+ ```
653
+
654
+ #### Verification
655
+
656
+ Confirm the installation succeeded:
657
+
658
+ ```bash
659
+ snap list postman
660
+ ```
661
+
662
+ Expected output shows Postman with version information.
663
+
664
+ Test the GUI launches (requires WSLg):
665
+
666
+ ```bash
667
+ postman &
668
+ ```
669
+
670
+ A Postman window should appear within a few seconds.
671
+
672
+ #### Troubleshooting
673
+
674
+ **Problem**: "cannot open display" error
675
+
676
+ **Solution**: WSLg is not configured. Either:
677
+ 1. Update Windows to a version that supports WSLg
678
+ 2. Use the Windows native Postman installation
679
+ 3. Use Newman CLI for headless testing
680
+
681
+ **Problem**: Snap installation fails with socket errors
682
+
683
+ **Solution**: The snap daemon may not start automatically in WSL. Start it manually:
684
+
685
+ ```bash
686
+ sudo service snapd start
687
+ ```
688
+
689
+ **Problem**: Postman starts but shows rendering errors or blank screen
690
+
691
+ **Solution**: Disable GPU acceleration:
692
+
693
+ ```bash
694
+ postman --disable-gpu &
695
+ ```
696
+
697
+ **Problem**: "The SUID sandbox helper binary was found" error
698
+
699
+ **Solution**: Run with the no-sandbox flag (less secure but works in WSL):
700
+
701
+ ```bash
702
+ postman --no-sandbox &
703
+ ```
704
+
705
+ ---
706
+
707
+ ### Git Bash (Windows Installation)
708
+
709
+ #### Prerequisites
710
+
711
+ - Windows 10 or Windows 11 (64-bit)
712
+ - Git Bash installed (comes with Git for Windows)
713
+ - Postman installed on Windows via Chocolatey or direct download
714
+
715
+ **Note**: Git Bash on Windows does not require a separate Postman installation. Git Bash inherits the Windows PATH, so once Postman is installed on Windows, the application is accessible. However, Postman is a GUI application and is typically launched separately from the terminal.
716
+
717
+ #### Installation Steps
718
+
719
+ Install Postman on Windows using Chocolatey. Run this from an Administrator PowerShell or Command Prompt (not Git Bash):
720
+
721
+ ```powershell
722
+ choco install postman -y
723
+ ```
724
+
725
+ Alternatively, use the Postman Portable version for a self-contained installation:
726
+
727
+ 1. Download Postman Portable from https://github.com/portapps/postman-portable/releases
728
+ 2. Extract to a location of your choice (e.g., `C:\Tools\PostmanPortable`)
729
+ 3. Run `postman-portable.exe`
730
+
731
+ For command-line API testing in Git Bash, install Newman:
732
+
733
+ ```bash
734
+ npm install -g newman
735
+ ```
736
+
737
+ #### Verification
738
+
739
+ From Git Bash, verify Newman is available (if installed):
740
+
741
+ ```bash
742
+ newman --version
743
+ ```
744
+
745
+ Expected output shows Newman version number.
746
+
747
+ To launch the Postman GUI application from Git Bash:
748
+
749
+ ```bash
750
+ start postman
751
+ ```
752
+
753
+ Or navigate to Postman directly:
754
+
755
+ ```bash
756
+ "/c/Users/$USERNAME/AppData/Local/Postman/Postman.exe" &
757
+ ```
758
+
759
+ #### Troubleshooting
760
+
761
+ **Problem**: `newman: command not found`
762
+
763
+ **Solution**: npm global binaries may not be in Git Bash PATH. Add npm global directory to PATH in your `~/.bashrc`:
764
+
765
+ ```bash
766
+ echo 'export PATH="$PATH:$(npm config get prefix)/bin"' >> ~/.bashrc
767
+ source ~/.bashrc
768
+ ```
769
+
770
+ **Problem**: Cannot launch Postman GUI from Git Bash
771
+
772
+ **Solution**: Use the `start` command to launch Windows applications:
773
+
774
+ ```bash
775
+ start postman
776
+ ```
777
+
778
+ Or launch via Windows Explorer integration:
779
+
780
+ ```bash
781
+ explorer.exe "C:\Users\$USERNAME\AppData\Local\Postman\Postman.exe"
782
+ ```
783
+
784
+ **Problem**: Newman tests fail with SSL certificate errors
785
+
786
+ **Solution**: Run Newman with SSL verification disabled (for development only):
787
+
788
+ ```bash
789
+ newman run collection.json --insecure
790
+ ```
791
+
792
+ ---
793
+
794
+ ## Post-Installation Configuration
795
+
796
+ After installing Postman on any platform, consider these optional configurations.
797
+
798
+ ### Creating a Postman Account
799
+
800
+ While Postman can be used without an account in "Lightweight API Client" mode, creating a free account enables:
801
+
802
+ - Cloud sync of collections and environments
803
+ - Collaboration features
804
+ - Access from multiple devices
805
+ - Postman web application access
806
+
807
+ Create an account at https://identity.getpostman.com/signup or through the application on first launch.
808
+
809
+ ### Installing Newman for CI/CD
810
+
811
+ Newman is Postman's command-line collection runner, essential for integrating API tests into CI/CD pipelines. Install it on any platform with Node.js:
812
+
813
+ ```bash
814
+ npm install -g newman
815
+ ```
816
+
817
+ Run a collection:
818
+
819
+ ```bash
820
+ newman run your-collection.json
821
+ ```
822
+
823
+ With environment variables:
824
+
825
+ ```bash
826
+ newman run your-collection.json -e environment.json
827
+ ```
828
+
829
+ With HTML report output:
830
+
831
+ ```bash
832
+ npm install -g newman-reporter-html
833
+ newman run your-collection.json -r html
834
+ ```
835
+
836
+ ### Configuring Proxy Settings
837
+
838
+ For corporate networks requiring a proxy, configure Postman's proxy settings:
839
+
840
+ 1. Open Postman
841
+ 2. Go to Settings (gear icon)
842
+ 3. Select "Proxy" tab
843
+ 4. Configure your proxy server details
844
+
845
+ ### Exporting Collections for Version Control
846
+
847
+ To store API collections in version control:
848
+
849
+ 1. In Postman, right-click a collection
850
+ 2. Select "Export"
851
+ 3. Choose format (Collection v2.1 recommended)
852
+ 4. Save the JSON file to your repository
853
+
854
+ ---
855
+
856
+ ## Common Issues
857
+
858
+ ### Issue: "Could not get any response"
859
+
860
+ **Symptoms**: Requests to localhost or internal APIs fail with "Could not get any response"
861
+
862
+ **Solutions**:
863
+
864
+ - Ensure the target service is running and accessible
865
+ - For localhost, verify the correct port is specified
866
+ - On macOS/Windows, ensure Docker networks are accessible if targeting containers
867
+ - Disable SSL certificate verification in Settings for self-signed certificates (development only)
868
+
869
+ ### Issue: CORS Errors in Web Application
870
+
871
+ **Symptoms**: Requests work in desktop app but fail in web app with CORS errors
872
+
873
+ **Solutions**:
874
+
875
+ - Install and enable the Postman Desktop Agent for the web application
876
+ - Use the desktop application instead of the web app for local development
877
+ - Configure your API server to allow CORS from Postman origins
878
+
879
+ ### Issue: High Memory Usage
880
+
881
+ **Symptoms**: Postman consumes excessive RAM, system becomes slow
882
+
883
+ **Solutions**:
884
+
885
+ - Close unused tabs and collections
886
+ - Disable the "Interceptor" if not in use
887
+ - Clear response history: Settings > Data > Clear history
888
+ - Restart Postman periodically during long sessions
889
+
890
+ ### Issue: SSL Certificate Errors
891
+
892
+ **Symptoms**: "SSL Certificate Problem" or "Unable to verify certificate"
893
+
894
+ **Solutions**:
895
+
896
+ - For self-signed certificates: Settings > General > Disable "SSL certificate verification"
897
+ - Add your CA certificate: Settings > Certificates > Add CA Certificate
898
+ - For client certificates: Settings > Certificates > Add Client Certificate
899
+
900
+ ### Issue: Postman Won't Start After Update
901
+
902
+ **Symptoms**: Application crashes or hangs on startup after an update
903
+
904
+ **Solutions**:
905
+
906
+ Clear application data and restart:
907
+
908
+ **macOS**:
909
+ ```bash
910
+ rm -rf ~/Library/Application\ Support/Postman
911
+ rm -rf ~/Library/Caches/Postman
912
+ ```
913
+
914
+ **Ubuntu/Linux**:
915
+ ```bash
916
+ rm -rf ~/.config/Postman
917
+ rm -rf ~/snap/postman/current/.config/Postman
918
+ ```
919
+
920
+ **Windows** (PowerShell):
921
+ ```powershell
922
+ Remove-Item -Recurse -Force "$env:APPDATA\Postman"
923
+ Remove-Item -Recurse -Force "$env:LOCALAPPDATA\Postman"
924
+ ```
925
+
926
+ ---
927
+
928
+ ## References
929
+
930
+ - [Postman Official Download Page](https://www.postman.com/downloads/)
931
+ - [Postman Installation Documentation](https://learning.postman.com/docs/getting-started/installation/installation-and-updates/)
932
+ - [Postman Homebrew Cask](https://formulae.brew.sh/cask/postman)
933
+ - [Postman Snap Package](https://snapcraft.io/postman)
934
+ - [Postman Chocolatey Package](https://community.chocolatey.org/packages/postman)
935
+ - [Postman winget Package](https://winget.run/pkg/Postman/Postman)
936
+ - [Newman Documentation](https://learning.postman.com/docs/collections/using-newman-cli/installing-running-newman/)
937
+ - [Newman npm Package](https://www.npmjs.com/package/newman)
938
+ - [Postman Portable for Windows](https://github.com/portapps/postman-portable)
939
+ - [Postman Desktop Agent](https://www.postman.com/downloads/postman-agent/)
940
+ - [Postman Web Application](https://go.postman.co)