@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,814 @@
1
+ # Installing ChatGPT Desktop Application
2
+
3
+ ## Overview
4
+
5
+ ChatGPT is OpenAI's AI assistant available as a desktop application for macOS and Windows. The desktop app provides a native experience with features like keyboard shortcuts (Option+Space on macOS, Alt+Space on Windows) for quick access, voice conversations with Advanced Voice mode, file uploads, image generation, and seamless integration with your workflow. The app maintains conversation history and supports memory features that persist across sessions.
6
+
7
+ **Important Platform Notes**:
8
+ - OpenAI provides official desktop applications for **macOS (Apple Silicon only)** and **Windows**
9
+ - **Linux, Raspberry Pi OS, and Amazon Linux** do not have official OpenAI desktop applications
10
+ - For unsupported platforms, third-party desktop wrappers or the web interface (https://chat.openai.com) are available alternatives
11
+
12
+ ## Dependencies
13
+
14
+ ### macOS (Homebrew)
15
+ - **Required:**
16
+ - `brew` - Install via `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` or run `dev install homebrew`
17
+ - Apple Silicon (ARM64) processor - The official ChatGPT app requires M1/M2/M3 or later (Intel Macs not supported)
18
+ - **Optional:** None
19
+ - **Auto-installed:** None
20
+
21
+ ### Ubuntu (APT/Snap)
22
+ - **Required:**
23
+ - `snapd` - Install via `sudo apt-get update && sudo apt-get install -y snapd` (pre-installed on Ubuntu 16.04+)
24
+ - **Optional:** None
25
+ - **Auto-installed:** None
26
+
27
+ ### Raspberry Pi OS (APT/Snap)
28
+ - **Required:** None (Installation not supported on this platform)
29
+ - **Optional:** None
30
+ - **Auto-installed:** None
31
+ - **Note:** ChatGPT desktop app is not available for Raspberry Pi OS. Third-party Snap packages do not support ARM64 architecture. Use the web interface at https://chat.openai.com instead.
32
+
33
+ ### Amazon Linux (DNF/YUM)
34
+ - **Required:** None (Installation not supported on this platform)
35
+ - **Optional:** None
36
+ - **Auto-installed:** None
37
+ - **Note:** ChatGPT desktop app is not available for Amazon Linux. This is typically a server OS without a desktop environment. Use the ChatGPT API via the OpenAI Python library or access the web interface.
38
+
39
+ ### Windows (Chocolatey/winget)
40
+ - **Required:**
41
+ - `winget` - Install via Microsoft Store: `start ms-windows-store://pdp/?productid=9NBLGGH4NNS1` (pre-installed on Windows 10 1809+ and Windows 11)
42
+ - **Optional:** None
43
+ - **Auto-installed:** None
44
+
45
+ ### Git Bash (Manual/Portable)
46
+ - **Required:**
47
+ - `winget.exe` - Install via Microsoft Store: `start ms-windows-store://pdp/?productid=9NBLGGH4NNS1` (pre-installed on Windows 10 1809+ and Windows 11)
48
+ - **Optional:** None
49
+ - **Auto-installed:** None
50
+ - **Note:** Git Bash delegates to the Windows installation process using winget.exe
51
+
52
+ ### WSL (Ubuntu)
53
+ - **Required:**
54
+ - `wslu` - Install via `sudo apt-get update && sudo apt-get install -y wslu` (provides wslview command for opening Windows browser)
55
+ - **Optional:**
56
+ - `winget.exe` - Accessible from WSL if available on Windows host (for installing Windows ChatGPT app)
57
+ - `snapd` - Install via `sudo apt-get install -y snapd` (for running Linux GUI apps in WSL 2 + WSLg on Windows 11)
58
+ - **Auto-installed:** None
59
+
60
+ ## Prerequisites
61
+
62
+ Before installing ChatGPT desktop on any platform, ensure:
63
+
64
+ 1. **OpenAI account** - A free or paid OpenAI account is required to use ChatGPT
65
+ 2. **Internet connectivity** - Required for all ChatGPT functionality (the app connects to OpenAI servers)
66
+ 3. **Administrative privileges** - Required on most platforms for installation
67
+
68
+ ## Platform-Specific Installation
69
+
70
+ ### macOS (Homebrew)
71
+
72
+ #### Prerequisites
73
+
74
+ - macOS 14 (Sonoma) or later
75
+ - Apple Silicon processor (M1, M2, M3, or later) - **Intel Macs are not supported**
76
+ - Homebrew package manager installed
77
+ - Terminal access
78
+
79
+ **Note**: The official ChatGPT desktop app from OpenAI requires Apple Silicon. Intel Mac users must use the web interface at https://chat.openai.com or third-party alternatives.
80
+
81
+ If Homebrew is not installed, install it first:
82
+
83
+ ```bash
84
+ NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
85
+ ```
86
+
87
+ #### Installation Steps
88
+
89
+ Run the following command to install the official OpenAI ChatGPT desktop app:
90
+
91
+ ```bash
92
+ brew install --cask --quiet chatgpt
93
+ ```
94
+
95
+ The `--quiet` flag suppresses non-essential output, making the command suitable for automation scripts. The `--cask` flag specifies this is a macOS application (as opposed to a command-line tool).
96
+
97
+ #### Verification
98
+
99
+ Confirm the installation succeeded by launching the application:
100
+
101
+ ```bash
102
+ open -a ChatGPT
103
+ ```
104
+
105
+ Alternatively, verify the application exists:
106
+
107
+ ```bash
108
+ ls /Applications/ChatGPT.app
109
+ ```
110
+
111
+ Expected output:
112
+
113
+ ```
114
+ /Applications/ChatGPT.app
115
+ ```
116
+
117
+ #### Troubleshooting
118
+
119
+ **Problem**: Installation fails with "You need macOS 14 or later"
120
+
121
+ **Solution**: The official ChatGPT app requires macOS 14 (Sonoma) or later. Upgrade your operating system or use the web interface at https://chat.openai.com.
122
+
123
+ **Problem**: Installation fails with "This cask requires Apple Silicon"
124
+
125
+ **Solution**: The official ChatGPT desktop app only supports Apple Silicon Macs. Intel Mac users must use the web interface or third-party alternatives. Check your processor:
126
+
127
+ ```bash
128
+ uname -m
129
+ ```
130
+
131
+ If the output is `x86_64`, you have an Intel Mac. If it is `arm64`, you have Apple Silicon.
132
+
133
+ **Problem**: App shows "ChatGPT can't be opened because Apple cannot check it for malicious software"
134
+
135
+ **Solution**: This can occur on first launch. Right-click the app in Applications and select "Open", then click "Open" in the dialog. Alternatively, clear the quarantine flag:
136
+
137
+ ```bash
138
+ xattr -cr /Applications/ChatGPT.app
139
+ ```
140
+
141
+ **Problem**: `brew: command not found`
142
+
143
+ **Solution**: Homebrew is not installed or not in PATH. Install Homebrew or add it to your PATH:
144
+
145
+ ```bash
146
+ eval "$(/opt/homebrew/bin/brew shellenv)"
147
+ ```
148
+
149
+ ---
150
+
151
+ ### Ubuntu/Debian (Snap)
152
+
153
+ #### Prerequisites
154
+
155
+ - Ubuntu 20.04 or later, or Debian 11 or later (64-bit x86_64)
156
+ - snapd service installed and running (pre-installed on Ubuntu 16.04+)
157
+ - sudo privileges
158
+ - Active internet connection
159
+
160
+ **Important**: OpenAI does not provide an official ChatGPT desktop application for Linux. The Snap package available is a third-party Electron wrapper that provides a native window for the ChatGPT web interface. This is not developed or maintained by OpenAI.
161
+
162
+ #### Installation Steps
163
+
164
+ Run the following command to install the ChatGPT desktop wrapper:
165
+
166
+ ```bash
167
+ sudo snap install chatgpt-desktop
168
+ ```
169
+
170
+ This installs a third-party Electron-based desktop wrapper that provides a native window for ChatGPT with features like persistent login and keyboard shortcuts.
171
+
172
+ **Note**: After installation, you may need to log out and log back in, or restart your terminal, for the application to appear in your application menu.
173
+
174
+ #### Verification
175
+
176
+ Confirm the installation succeeded:
177
+
178
+ ```bash
179
+ snap list chatgpt-desktop
180
+ ```
181
+
182
+ Expected output (version may vary):
183
+
184
+ ```
185
+ Name Version Rev Tracking Publisher Notes
186
+ chatgpt-desktop 1.0.7 xxx latest/stable joshua-redmond -
187
+ ```
188
+
189
+ Launch the application:
190
+
191
+ ```bash
192
+ chatgpt-desktop &
193
+ ```
194
+
195
+ Or find "ChatGPT Desktop" in your application menu.
196
+
197
+ #### Troubleshooting
198
+
199
+ **Problem**: `snap: command not found`
200
+
201
+ **Solution**: Install snapd first:
202
+
203
+ ```bash
204
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y snapd
205
+ ```
206
+
207
+ Then restart your terminal or log out and log back in.
208
+
209
+ **Problem**: Application fails to start with graphics errors
210
+
211
+ **Solution**: The Electron-based app may have issues with certain graphics drivers. Try running with software rendering:
212
+
213
+ ```bash
214
+ chatgpt-desktop --disable-gpu &
215
+ ```
216
+
217
+ **Problem**: Cannot log in to ChatGPT within the app
218
+
219
+ **Solution**: Clear the application data and try again:
220
+
221
+ ```bash
222
+ rm -rf ~/snap/chatgpt-desktop/current/.config/chatgpt-desktop
223
+ ```
224
+
225
+ **Problem**: "chatgpt-desktop" not found after installation
226
+
227
+ **Solution**: The snap bin directory may not be in PATH. Add it:
228
+
229
+ ```bash
230
+ export PATH=$PATH:/snap/bin
231
+ ```
232
+
233
+ Add this line to `~/.bashrc` for persistence.
234
+
235
+ ---
236
+
237
+ ### Raspberry Pi OS (Snap)
238
+
239
+ #### Prerequisites
240
+
241
+ - Raspberry Pi OS (64-bit) - ARM64/aarch64 architecture
242
+ - Raspberry Pi 4 or later with 4GB+ RAM recommended
243
+ - snapd service installed
244
+ - sudo privileges
245
+ - Display and desktop environment configured
246
+
247
+ **Important**: OpenAI does not provide an official ChatGPT desktop application for Raspberry Pi or any Linux ARM platform. Third-party desktop wrappers exist but may have limited ARM64 support. The web interface at https://chat.openai.com is the recommended solution for Raspberry Pi.
248
+
249
+ Verify your architecture:
250
+
251
+ ```bash
252
+ uname -m
253
+ ```
254
+
255
+ This must output `aarch64`. If it outputs `armv7l`, you are running 32-bit Raspberry Pi OS and need to install the 64-bit version.
256
+
257
+ #### Installation Steps
258
+
259
+ **Recommended Approach - Web Browser**:
260
+
261
+ The most reliable way to use ChatGPT on Raspberry Pi is through the web browser. Chromium is pre-installed on Raspberry Pi OS:
262
+
263
+ ```bash
264
+ chromium-browser https://chat.openai.com &
265
+ ```
266
+
267
+ **Alternative Approach - Third-Party Snap (Limited Support)**:
268
+
269
+ Third-party ChatGPT desktop wrappers are primarily built for x86_64 architecture. ARM64 support is limited. Check if the snap supports ARM64:
270
+
271
+ ```bash
272
+ snap info chatgpt-desktop
273
+ ```
274
+
275
+ If ARM64 (aarch64) is listed under supported architectures, install with:
276
+
277
+ ```bash
278
+ sudo snap install chatgpt-desktop
279
+ ```
280
+
281
+ **Note**: Most ChatGPT desktop Snap packages only support amd64 (x86_64) and will not install on Raspberry Pi.
282
+
283
+ #### Verification
284
+
285
+ For the browser approach, verify Chromium can access ChatGPT:
286
+
287
+ ```bash
288
+ chromium-browser --version
289
+ ```
290
+
291
+ Navigate to https://chat.openai.com and confirm the page loads.
292
+
293
+ For snap installation (if supported), verify with:
294
+
295
+ ```bash
296
+ snap list chatgpt-desktop
297
+ ```
298
+
299
+ #### Troubleshooting
300
+
301
+ **Problem**: Snap installation fails with "architecture not supported"
302
+
303
+ **Solution**: The snap package does not support ARM64. Use the web browser method instead:
304
+
305
+ ```bash
306
+ chromium-browser https://chat.openai.com &
307
+ ```
308
+
309
+ **Problem**: Web interface is slow or unresponsive
310
+
311
+ **Solution**: Raspberry Pi may have limited resources for web-based AI interfaces. Close other applications and ensure you have at least 4GB RAM. Consider using a lighter browser:
312
+
313
+ ```bash
314
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y firefox-esr
315
+ firefox https://chat.openai.com &
316
+ ```
317
+
318
+ **Problem**: Cannot install snapd
319
+
320
+ **Solution**: Install snapd and reboot:
321
+
322
+ ```bash
323
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y snapd
324
+ sudo reboot
325
+ ```
326
+
327
+ ---
328
+
329
+ ### Amazon Linux (DNF/YUM)
330
+
331
+ #### Prerequisites
332
+
333
+ - Amazon Linux 2023 (AL2023) or Amazon Linux 2 (AL2)
334
+ - Desktop environment (if using a graphical interface)
335
+ - sudo privileges
336
+
337
+ **Important**: OpenAI does not provide an official ChatGPT desktop application for Amazon Linux or any Linux distribution. Amazon Linux is typically used as a server operating system without a desktop environment. For server environments, use the ChatGPT API via the OpenAI Python library or access the web interface.
338
+
339
+ #### Installation Steps
340
+
341
+ **Recommended Approach - Web Interface or API**:
342
+
343
+ For server environments (most Amazon Linux use cases), access ChatGPT via the API:
344
+
345
+ ```bash
346
+ sudo dnf install -y python3-pip
347
+ pip3 install --quiet openai
348
+ ```
349
+
350
+ Then use the OpenAI Python library in your applications.
351
+
352
+ For desktop environments with a browser, access https://chat.openai.com directly.
353
+
354
+ **Alternative Approach - Snap (if desktop environment is installed)**:
355
+
356
+ Amazon Linux does not natively support Snap. If you require a desktop wrapper and have EPEL configured:
357
+
358
+ First, enable EPEL (Extra Packages for Enterprise Linux):
359
+
360
+ ```bash
361
+ sudo dnf install -y epel-release
362
+ ```
363
+
364
+ Snap support on Amazon Linux requires additional configuration that may not be officially supported. The recommended approach is to use the web interface or API.
365
+
366
+ **Alternative Approach - AppImage (if desktop environment is installed)**:
367
+
368
+ Download and run the third-party ChatGPT AppImage:
369
+
370
+ ```bash
371
+ # Download the AppImage (third-party, not from OpenAI)
372
+ curl -L -o /tmp/ChatGPT.AppImage "https://github.com/lencx/ChatGPT/releases/download/v1.1.0/ChatGPT_1.1.0_linux_x86_64.AppImage.tar.gz"
373
+ tar -xzf /tmp/ChatGPT.AppImage -C /tmp
374
+ chmod +x /tmp/ChatGPT_1.1.0_linux_x86_64.AppImage
375
+ mv /tmp/ChatGPT_1.1.0_linux_x86_64.AppImage /usr/local/bin/chatgpt-desktop
376
+ ```
377
+
378
+ **Security Warning**: This is a third-party application. Only download from the official repository at https://github.com/lencx/ChatGPT/releases.
379
+
380
+ #### Verification
381
+
382
+ For API installation, verify the OpenAI library:
383
+
384
+ ```bash
385
+ python3 -c "import openai; print(openai.__version__)"
386
+ ```
387
+
388
+ For AppImage installation:
389
+
390
+ ```bash
391
+ /usr/local/bin/chatgpt-desktop --version
392
+ ```
393
+
394
+ #### Troubleshooting
395
+
396
+ **Problem**: No graphical display available
397
+
398
+ **Solution**: Amazon Linux is typically a server OS. Use the ChatGPT API instead:
399
+
400
+ ```bash
401
+ pip3 install --quiet openai
402
+ ```
403
+
404
+ **Problem**: AppImage fails with "FUSE not available"
405
+
406
+ **Solution**: Install FUSE:
407
+
408
+ ```bash
409
+ sudo dnf install -y fuse fuse-libs
410
+ ```
411
+
412
+ Or extract and run the AppImage directly:
413
+
414
+ ```bash
415
+ /usr/local/bin/chatgpt-desktop --appimage-extract
416
+ ./squashfs-root/AppRun
417
+ ```
418
+
419
+ **Problem**: Browser not available on headless server
420
+
421
+ **Solution**: For headless environments, use the OpenAI API programmatically or set up X11 forwarding to access a browser from a remote machine.
422
+
423
+ ---
424
+
425
+ ### Windows (winget)
426
+
427
+ #### Prerequisites
428
+
429
+ - Windows 10 version 17763.0 or later, or Windows 11
430
+ - winget package manager (pre-installed on Windows 10 1809+ and Windows 11)
431
+ - Administrator privileges recommended
432
+ - Active internet connection
433
+
434
+ #### Installation Steps
435
+
436
+ Run the following command in an Administrator PowerShell or Command Prompt to install the official OpenAI ChatGPT desktop app from the Microsoft Store:
437
+
438
+ ```powershell
439
+ winget install --id 9NT1R1C2HH7J --source msstore --silent --accept-package-agreements --accept-source-agreements
440
+ ```
441
+
442
+ This command:
443
+ - `--id 9NT1R1C2HH7J` - Specifies the Microsoft Store ID for the official ChatGPT app
444
+ - `--source msstore` - Installs from the Microsoft Store
445
+ - `--silent` - Runs without user prompts
446
+ - `--accept-package-agreements` - Automatically accepts package license agreements
447
+ - `--accept-source-agreements` - Automatically accepts source license agreements
448
+
449
+ #### Verification
450
+
451
+ Open a new PowerShell or Command Prompt window (required for Start Menu to update), then verify the installation:
452
+
453
+ ```powershell
454
+ winget list --id 9NT1R1C2HH7J
455
+ ```
456
+
457
+ Or launch the application:
458
+
459
+ ```powershell
460
+ start ChatGPT:
461
+ ```
462
+
463
+ Alternatively, search for "ChatGPT" in the Start Menu.
464
+
465
+ #### Troubleshooting
466
+
467
+ **Problem**: `winget: The term 'winget' is not recognized`
468
+
469
+ **Solution**: winget may not be installed or PATH may not be updated. Install App Installer from the Microsoft Store:
470
+
471
+ ```powershell
472
+ start ms-windows-store://pdp/?productid=9NBLGGH4NNS1
473
+ ```
474
+
475
+ After installation, open a new terminal window.
476
+
477
+ **Problem**: Installation fails with "No applicable installer found"
478
+
479
+ **Solution**: Your Windows version may be too old. Check your version:
480
+
481
+ ```powershell
482
+ winver
483
+ ```
484
+
485
+ Windows 10 version 17763.0 (October 2018 Update) or later is required.
486
+
487
+ **Problem**: "Administrator privileges required"
488
+
489
+ **Solution**: Right-click PowerShell or Command Prompt and select "Run as administrator", then retry the installation command.
490
+
491
+ **Problem**: Microsoft Store is disabled by group policy
492
+
493
+ **Solution**: Contact your IT administrator. For enterprise environments, the app can be deployed via Microsoft Intune or other MDM solutions.
494
+
495
+ ---
496
+
497
+ ### WSL (Ubuntu)
498
+
499
+ #### Prerequisites
500
+
501
+ - Windows Subsystem for Linux with Ubuntu installed
502
+ - WSL 2 recommended for best performance
503
+ - Desktop environment configured in WSL (optional, for GUI apps)
504
+ - sudo privileges within WSL
505
+
506
+ **Important**: ChatGPT desktop applications are GUI-based and require a display. WSL 2 with WSLg (Windows 11) supports Linux GUI applications natively. For WSL on Windows 10, additional X server configuration is required.
507
+
508
+ #### Installation Steps
509
+
510
+ **Recommended Approach - Use Windows ChatGPT App**:
511
+
512
+ The simplest approach is to install the ChatGPT app on Windows (see Windows section above) and access it from WSL by launching Windows applications:
513
+
514
+ ```bash
515
+ /mnt/c/Users/$USER/AppData/Local/Microsoft/WindowsApps/ChatGPT.exe &
516
+ ```
517
+
518
+ Or access the web interface:
519
+
520
+ ```bash
521
+ wslview https://chat.openai.com
522
+ ```
523
+
524
+ **Note**: `wslview` opens URLs in the default Windows browser. Install it with:
525
+
526
+ ```bash
527
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y wslu
528
+ ```
529
+
530
+ **Alternative Approach - Linux Snap in WSL (WSL 2 + WSLg required)**:
531
+
532
+ For WSL 2 on Windows 11 with WSLg, you can run Linux GUI applications natively:
533
+
534
+ First, ensure systemd is enabled in WSL. Edit `/etc/wsl.conf`:
535
+
536
+ ```bash
537
+ sudo tee /etc/wsl.conf > /dev/null << 'EOF'
538
+ [boot]
539
+ systemd=true
540
+ EOF
541
+ ```
542
+
543
+ Restart WSL from PowerShell:
544
+
545
+ ```powershell
546
+ wsl --shutdown
547
+ ```
548
+
549
+ Then reopen WSL and install snapd:
550
+
551
+ ```bash
552
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y snapd
553
+ sudo snap install chatgpt-desktop
554
+ ```
555
+
556
+ #### Verification
557
+
558
+ For the Windows app approach:
559
+
560
+ ```bash
561
+ wslview https://chat.openai.com
562
+ ```
563
+
564
+ This should open ChatGPT in your Windows browser.
565
+
566
+ For the Linux snap approach (WSL 2 + WSLg):
567
+
568
+ ```bash
569
+ snap list chatgpt-desktop
570
+ ```
571
+
572
+ Launch the application:
573
+
574
+ ```bash
575
+ chatgpt-desktop &
576
+ ```
577
+
578
+ #### Troubleshooting
579
+
580
+ **Problem**: GUI applications do not display
581
+
582
+ **Solution**: WSLg requires Windows 11 or later. For Windows 10, install an X server like VcXsrv:
583
+
584
+ 1. Install VcXsrv on Windows
585
+ 2. Launch XLaunch with "Multiple windows" and "Disable access control"
586
+ 3. In WSL, set the display:
587
+
588
+ ```bash
589
+ export DISPLAY=$(grep nameserver /etc/resolv.conf | awk '{print $2}'):0.0
590
+ ```
591
+
592
+ **Problem**: systemctl commands fail
593
+
594
+ **Solution**: systemd may not be enabled. Edit `/etc/wsl.conf` as shown above and restart WSL.
595
+
596
+ **Problem**: Snap installation hangs
597
+
598
+ **Solution**: Snap may have issues in WSL. Use the Windows ChatGPT app or web interface instead:
599
+
600
+ ```bash
601
+ wslview https://chat.openai.com
602
+ ```
603
+
604
+ **Problem**: `wslview: command not found`
605
+
606
+ **Solution**: Install wslu utilities:
607
+
608
+ ```bash
609
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y wslu
610
+ ```
611
+
612
+ ---
613
+
614
+ ### Git Bash (Windows)
615
+
616
+ #### Prerequisites
617
+
618
+ - Windows 10 version 17763.0 or later, or Windows 11
619
+ - Git Bash installed (comes with Git for Windows)
620
+ - ChatGPT installed on Windows (see Windows section above)
621
+
622
+ **Note**: Git Bash on Windows runs within the Windows environment and inherits the Windows PATH. Once ChatGPT is installed on Windows, it is accessible from Git Bash through Windows application launching.
623
+
624
+ #### Installation Steps
625
+
626
+ Git Bash itself cannot install Windows applications directly. Install the ChatGPT Windows app using one of these methods:
627
+
628
+ **Method 1 - Use winget from Git Bash**:
629
+
630
+ Git Bash can execute Windows commands. Run the winget installation:
631
+
632
+ ```bash
633
+ winget.exe install --id 9NT1R1C2HH7J --source msstore --silent --accept-package-agreements --accept-source-agreements
634
+ ```
635
+
636
+ **Method 2 - Use PowerShell from Git Bash**:
637
+
638
+ ```bash
639
+ powershell.exe -Command "winget install --id 9NT1R1C2HH7J --source msstore --silent --accept-package-agreements --accept-source-agreements"
640
+ ```
641
+
642
+ After installation, close and reopen Git Bash for Start Menu shortcuts to update.
643
+
644
+ #### Verification
645
+
646
+ Verify ChatGPT is installed by checking winget:
647
+
648
+ ```bash
649
+ winget.exe list --id 9NT1R1C2HH7J
650
+ ```
651
+
652
+ Launch ChatGPT from Git Bash:
653
+
654
+ ```bash
655
+ start ChatGPT:
656
+ ```
657
+
658
+ Or open the web interface:
659
+
660
+ ```bash
661
+ start https://chat.openai.com
662
+ ```
663
+
664
+ #### Troubleshooting
665
+
666
+ **Problem**: `winget.exe: command not found`
667
+
668
+ **Solution**: winget may not be in the Git Bash PATH. Use the full path:
669
+
670
+ ```bash
671
+ /c/Users/$USER/AppData/Local/Microsoft/WindowsApps/winget.exe install --id 9NT1R1C2HH7J --source msstore --silent --accept-package-agreements --accept-source-agreements
672
+ ```
673
+
674
+ **Problem**: `start: command not found`
675
+
676
+ **Solution**: In Git Bash, use `cmd.exe` to run Windows commands:
677
+
678
+ ```bash
679
+ cmd.exe /c start ChatGPT:
680
+ ```
681
+
682
+ **Problem**: Installation fails with permission errors
683
+
684
+ **Solution**: Git Bash may need to be run as Administrator. Right-click Git Bash and select "Run as administrator", then retry the installation.
685
+
686
+ **Problem**: ChatGPT app installed but cannot launch from Git Bash
687
+
688
+ **Solution**: Use the Windows `start` command through cmd:
689
+
690
+ ```bash
691
+ cmd.exe /c start "" "ChatGPT:"
692
+ ```
693
+
694
+ Or simply access the web interface:
695
+
696
+ ```bash
697
+ cmd.exe /c start https://chat.openai.com
698
+ ```
699
+
700
+ ---
701
+
702
+ ## Post-Installation Configuration
703
+
704
+ ### First-Time Setup
705
+
706
+ After installing and launching ChatGPT on any platform:
707
+
708
+ 1. **Sign in** - Log in with your OpenAI account (email/password, Google, Microsoft, or Apple ID)
709
+ 2. **Enable keyboard shortcut** - The app registers a global keyboard shortcut:
710
+ - macOS: `Option + Space`
711
+ - Windows: `Alt + Space`
712
+ 3. **Grant permissions** - If using voice features, grant microphone access when prompted
713
+ 4. **Enable memory** (optional) - Go to Settings > Personalization to enable memory features
714
+
715
+ ### Keyboard Shortcuts
716
+
717
+ | Platform | Quick Launch | New Chat | Show/Hide Window |
718
+ |----------|-------------|----------|------------------|
719
+ | macOS | Option + Space | Cmd + N | Option + Space |
720
+ | Windows | Alt + Space | Ctrl + N | Alt + Space |
721
+
722
+ ### Configuring Voice Features
723
+
724
+ To use Advanced Voice mode:
725
+
726
+ 1. Open ChatGPT settings
727
+ 2. Navigate to Voice settings
728
+ 3. Select your preferred voice
729
+ 4. Grant microphone permissions when prompted
730
+
731
+ ---
732
+
733
+ ## Common Issues
734
+
735
+ ### Issue: App Requires Paid Subscription for Features
736
+
737
+ **Symptoms**: Certain features like Advanced Voice, GPT-4, or file uploads are unavailable.
738
+
739
+ **Solution**: Some features require ChatGPT Plus, Team, or Enterprise subscriptions. Free tier users have access to basic features. Visit https://chat.openai.com/upgrade to view subscription options.
740
+
741
+ ### Issue: Conversation History Not Syncing
742
+
743
+ **Symptoms**: Conversations on desktop do not appear on mobile or web, or vice versa.
744
+
745
+ **Solution**: Ensure you are signed into the same OpenAI account across all devices. Check your internet connection. Try signing out and back in:
746
+
747
+ 1. Open ChatGPT settings
748
+ 2. Sign out
749
+ 3. Sign back in with your account
750
+
751
+ ### Issue: High CPU or Memory Usage
752
+
753
+ **Symptoms**: The ChatGPT app consumes excessive system resources.
754
+
755
+ **Solution**: This can occur with long conversations or multiple windows. Close unused conversations or restart the app. On macOS:
756
+
757
+ ```bash
758
+ killall ChatGPT
759
+ open -a ChatGPT
760
+ ```
761
+
762
+ On Windows:
763
+
764
+ ```powershell
765
+ taskkill /IM ChatGPT.exe /F
766
+ start ChatGPT:
767
+ ```
768
+
769
+ ### Issue: Keyboard Shortcut Does Not Work
770
+
771
+ **Symptoms**: Pressing Option+Space (macOS) or Alt+Space (Windows) does not open ChatGPT.
772
+
773
+ **Solution**:
774
+
775
+ 1. Ensure ChatGPT is running (check system tray/menu bar)
776
+ 2. Another application may be using the same shortcut. Check System Settings/Preferences for conflicting shortcuts
777
+ 3. Restart the ChatGPT application
778
+
779
+ ### Issue: Cannot Upload Files
780
+
781
+ **Symptoms**: File upload button is disabled or uploads fail.
782
+
783
+ **Solution**:
784
+
785
+ 1. Ensure you have an active internet connection
786
+ 2. Check file size limits (varies by subscription tier)
787
+ 3. Verify the file format is supported (images, PDFs, code files, etc.)
788
+ 4. Free tier users have limited file upload capabilities
789
+
790
+ ### Issue: "Unable to Connect" Error
791
+
792
+ **Symptoms**: The app shows connection errors and cannot communicate with OpenAI servers.
793
+
794
+ **Solution**:
795
+
796
+ 1. Check your internet connection
797
+ 2. Verify OpenAI services are operational at https://status.openai.com
798
+ 3. Check if a firewall or proxy is blocking the connection
799
+ 4. Try accessing https://chat.openai.com in a browser to isolate the issue
800
+
801
+ ---
802
+
803
+ ## References
804
+
805
+ - [ChatGPT Desktop Official Page](https://openai.com/chatgpt/desktop/)
806
+ - [ChatGPT Download Page](https://openai.com/chatgpt/download/)
807
+ - [ChatGPT macOS App System Requirements](https://help.openai.com/en/articles/9395554-what-are-the-system-requirements-for-the-chatgpt-macos-app)
808
+ - [Using the ChatGPT Windows App](https://help.openai.com/en/articles/9982051-using-the-chatgpt-windows-app)
809
+ - [Windows App Release Notes](https://help.openai.com/en/articles/10003026-windows-app-release-notes)
810
+ - [ChatGPT Homebrew Cask](https://formulae.brew.sh/cask/chatgpt)
811
+ - [ChatGPT on Microsoft Store](https://apps.microsoft.com/detail/9nt1r1c2hh7j)
812
+ - [ChatGPT Desktop Snap Package](https://snapcraft.io/chatgpt-desktop)
813
+ - [lencx/ChatGPT Third-Party Desktop App](https://github.com/lencx/ChatGPT) (Unofficial)
814
+ - [OpenAI Status Page](https://status.openai.com)