@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,813 @@
1
+ # Installing Beyond Compare
2
+
3
+ ## Overview
4
+
5
+ Beyond Compare is a powerful file and folder comparison utility developed by Scooter Software. It enables users to compare files, folders, and even entire drives with detailed side-by-side visualization of differences. Beyond Compare supports merging changes between two or three versions of files, synchronizing files and folders between different locations (including FTP, SFTP, WebDAV, and cloud storage), and generating comparison reports. The tool includes specialized comparison viewers for text files, binary files, images, tables, registry hives, and more. Beyond Compare is widely used by software developers, IT professionals, and anyone who needs to efficiently compare, synchronize, and merge files.
6
+
7
+ **Note**: Beyond Compare is commercial software. Downloads include both Standard and Pro functionality, with your license key unlocking the appropriate features for permanent use. A 30-day trial is available.
8
+
9
+ ## Prerequisites
10
+
11
+ Before installing Beyond Compare on any platform, ensure:
12
+
13
+ 1. **Internet connectivity** - Required to download the installer or packages
14
+ 2. **Administrative privileges** - Required for system-wide installation on most platforms
15
+ 3. **64-bit operating system** - Beyond Compare 5 requires a 64-bit (x86_64/AMD64) system on all platforms
16
+ 4. **Graphical environment** - Beyond Compare is a GUI application and requires a display (X11 on Linux, GUI on Windows/macOS)
17
+
18
+ **Important**: Beyond Compare does NOT support ARM processors (including Apple Silicon natively, Raspberry Pi, or ARM-based Linux systems). On Apple Silicon Macs, it runs through Rosetta 2 translation. ARM Linux systems are not supported.
19
+
20
+ ## Dependencies
21
+
22
+ ### macOS (Homebrew)
23
+ - **Required:**
24
+ - Homebrew package manager - Install via `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
25
+ - **Optional:**
26
+ - Rosetta 2 (for Apple Silicon Macs) - Usually auto-prompted by macOS when needed, or install manually via `softwareupdate --install-rosetta --agree-to-license`
27
+ - **Auto-installed:** None
28
+
29
+ ### Ubuntu (APT/Snap)
30
+ - **Required:**
31
+ - `wget` - Install via `sudo apt install wget` (installer will auto-install if missing)
32
+ - **Optional:** None
33
+ - **Auto-installed:**
34
+ - GTK3 libraries, X11 libraries, and other GUI dependencies (handled by APT when installing the .deb package)
35
+
36
+ ### Raspberry Pi OS (APT/Snap)
37
+ - **Installation not supported on this platform** - Beyond Compare does not support ARM architecture. Use alternatives like Meld (`sudo apt install meld`), KDiff3 (`sudo apt install kdiff3`), or vimdiff (`sudo apt install vim`).
38
+
39
+ ### Amazon Linux (DNF/YUM)
40
+ - **Required:**
41
+ - `wget` - Install via `sudo dnf install wget` or `sudo yum install wget` (installer will auto-install if missing)
42
+ - **Optional:** None
43
+ - **Auto-installed:**
44
+ - GTK3 libraries, X11 libraries (libXScrnSaver), and other GUI dependencies (handled by DNF/YUM when installing the .rpm package)
45
+
46
+ ### Windows (Chocolatey)
47
+ - **Required:**
48
+ - Chocolatey package manager - Install via PowerShell (Administrator): `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'))`
49
+ - **Optional:** None
50
+ - **Auto-installed:**
51
+ - .NET Framework and other Windows runtime dependencies (handled by Chocolatey)
52
+
53
+ ### Git Bash (Manual/Portable)
54
+ - **Required:**
55
+ - Beyond Compare installed on Windows - See Windows section above for installation via Chocolatey or download from https://www.scootersoftware.com/download
56
+ - **Optional:**
57
+ - Chocolatey (for automated installation from Git Bash) - See Windows section for installation
58
+ - **Auto-installed:** None (Git Bash inherits the Windows PATH and uses the Windows installation)
59
+
60
+ ## Platform-Specific Installation
61
+
62
+ ### macOS (Homebrew)
63
+
64
+ #### Prerequisites
65
+
66
+ - macOS 11 (Big Sur) or later
67
+ - Homebrew package manager installed
68
+ - Terminal access
69
+ - Apple Silicon Macs: Rosetta 2 will be used automatically (Beyond Compare is Intel-only)
70
+
71
+ If Homebrew is not installed, install it first:
72
+
73
+ ```bash
74
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
75
+ ```
76
+
77
+ #### Installation Steps
78
+
79
+ Run the following command to install Beyond Compare:
80
+
81
+ ```bash
82
+ brew install --cask --quiet beyond-compare
83
+ ```
84
+
85
+ The `--quiet` flag suppresses non-essential output, making the command suitable for automation scripts. The `--cask` flag is required because Beyond Compare is a macOS application (not a command-line formula).
86
+
87
+ #### Verification
88
+
89
+ Confirm the installation succeeded:
90
+
91
+ ```bash
92
+ ls /Applications/Beyond\ Compare.app && echo "Beyond Compare installed successfully"
93
+ ```
94
+
95
+ Launch Beyond Compare to verify it runs:
96
+
97
+ ```bash
98
+ open -a "Beyond Compare"
99
+ ```
100
+
101
+ #### Installing Command Line Tools
102
+
103
+ After installation, enable command-line access by launching Beyond Compare and selecting:
104
+
105
+ **Beyond Compare menu > Install Command Line Tools**
106
+
107
+ This creates two command-line shortcuts:
108
+ - `/usr/local/bin/bcomp` - Launches comparison and waits for completion (useful for scripts)
109
+ - `/usr/local/bin/bcompare` - Launches comparison and returns immediately
110
+
111
+ Verify command-line tools:
112
+
113
+ ```bash
114
+ bcompare --version
115
+ ```
116
+
117
+ #### Troubleshooting
118
+
119
+ **Problem**: `beyond-compare: cask not found`
120
+
121
+ **Solution**: Update Homebrew cask definitions:
122
+
123
+ ```bash
124
+ brew update
125
+ ```
126
+
127
+ **Problem**: Application crashes on Apple Silicon Mac
128
+
129
+ **Solution**: Ensure Rosetta 2 is installed:
130
+
131
+ ```bash
132
+ softwareupdate --install-rosetta --agree-to-license
133
+ ```
134
+
135
+ **Problem**: `bcomp: command not found` after installing command-line tools
136
+
137
+ **Solution**: Ensure `/usr/local/bin` is in your PATH. Add to `~/.zshrc`:
138
+
139
+ ```bash
140
+ export PATH="/usr/local/bin:$PATH"
141
+ ```
142
+
143
+ ---
144
+
145
+ ### Ubuntu/Debian (APT)
146
+
147
+ #### Prerequisites
148
+
149
+ - Ubuntu 18.04 or later, or Debian 10 or later (64-bit x86_64 only)
150
+ - X Window System (graphical environment required)
151
+ - sudo privileges
152
+ - `wget` installed (pre-installed on most systems)
153
+
154
+ #### Installation Steps
155
+
156
+ Download and install Beyond Compare using the official .deb package:
157
+
158
+ ```bash
159
+ wget -q -O /tmp/bcompare.deb "https://www.scootersoftware.com/files/bcompare-5.1.7.31736_amd64.deb" && \
160
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && \
161
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y /tmp/bcompare.deb && \
162
+ rm -f /tmp/bcompare.deb
163
+ ```
164
+
165
+ The `DEBIAN_FRONTEND=noninteractive` environment variable ensures no interactive prompts appear during installation. The `-y` flag automatically confirms package installation.
166
+
167
+ **Note**: Installing the .deb package automatically adds the Scooter Software repository to your system for future updates.
168
+
169
+ #### Preventing Automatic Repository Addition
170
+
171
+ If you do not want the Scooter Software repository added to your system, create a configuration file before installation:
172
+
173
+ ```bash
174
+ sudo touch /etc/default/bcompare
175
+ wget -q -O /tmp/bcompare.deb "https://www.scootersoftware.com/files/bcompare-5.1.7.31736_amd64.deb" && \
176
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && \
177
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y /tmp/bcompare.deb && \
178
+ rm -f /tmp/bcompare.deb
179
+ ```
180
+
181
+ #### Verification
182
+
183
+ Confirm the installation succeeded:
184
+
185
+ ```bash
186
+ bcompare --version
187
+ ```
188
+
189
+ Expected output (version numbers may vary):
190
+
191
+ ```
192
+ Beyond Compare Version 5.1.7 (build 31736)
193
+ ```
194
+
195
+ Alternatively, verify the package is installed:
196
+
197
+ ```bash
198
+ dpkg -l | grep bcompare
199
+ ```
200
+
201
+ #### Troubleshooting
202
+
203
+ **Problem**: `wget: command not found`
204
+
205
+ **Solution**: Install wget first:
206
+
207
+ ```bash
208
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y wget
209
+ ```
210
+
211
+ **Problem**: Dependency errors during installation
212
+
213
+ **Solution**: Install missing dependencies:
214
+
215
+ ```bash
216
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -f
217
+ ```
218
+
219
+ **Problem**: Beyond Compare fails to launch with display errors
220
+
221
+ **Solution**: Ensure you have a graphical environment. Beyond Compare requires X11. If running over SSH, use X11 forwarding:
222
+
223
+ ```bash
224
+ ssh -X user@host
225
+ ```
226
+
227
+ **Problem**: Cannot run bcompare command
228
+
229
+ **Solution**: The binary is installed to `/usr/bin/bcompare`. Verify it is in PATH:
230
+
231
+ ```bash
232
+ which bcompare
233
+ ```
234
+
235
+ ---
236
+
237
+ ### Raspberry Pi OS (APT)
238
+
239
+ #### Prerequisites
240
+
241
+ **Important**: Beyond Compare does NOT support ARM architecture. Raspberry Pi devices use ARM processors (armv7l or aarch64), which are not supported by Beyond Compare.
242
+
243
+ This is a fundamental limitation of Beyond Compare, not a packaging issue. Scooter Software has stated they do not have plans to support ARM CPUs due to limited development resources.
244
+
245
+ #### Alternative Solutions
246
+
247
+ For file comparison needs on Raspberry Pi, use one of these open-source alternatives that support ARM:
248
+
249
+ **Meld** (graphical diff tool):
250
+
251
+ ```bash
252
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && \
253
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y meld
254
+ ```
255
+
256
+ **KDiff3** (graphical diff and merge tool):
257
+
258
+ ```bash
259
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && \
260
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y kdiff3
261
+ ```
262
+
263
+ **vimdiff** (terminal-based diff tool):
264
+
265
+ ```bash
266
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && \
267
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y vim
268
+ ```
269
+
270
+ Then use `vimdiff file1 file2` to compare files.
271
+
272
+ #### Verification
273
+
274
+ Verify your architecture to confirm ARM:
275
+
276
+ ```bash
277
+ uname -m
278
+ ```
279
+
280
+ If this outputs `armv7l` or `aarch64`, your system is ARM-based and Beyond Compare is not available.
281
+
282
+ #### Troubleshooting
283
+
284
+ **Problem**: User attempts to install the amd64.deb package on Raspberry Pi
285
+
286
+ **Solution**: This will fail with an architecture mismatch error. There is no workaround. Use one of the alternative tools listed above.
287
+
288
+ ---
289
+
290
+ ### Amazon Linux/RHEL (DNF/YUM)
291
+
292
+ #### Prerequisites
293
+
294
+ - Amazon Linux 2023, Amazon Linux 2, RHEL 8/9/10, Fedora 41+, or CentOS Stream (64-bit x86_64 only)
295
+ - X Window System (graphical environment required)
296
+ - sudo or root privileges
297
+ - `wget` installed
298
+
299
+ **Note**: Amazon Linux EC2 instances typically run headless (no GUI). Beyond Compare requires a graphical environment. For server use cases, consider using command-line diff tools instead, or access Beyond Compare via X11 forwarding.
300
+
301
+ #### Installation Steps
302
+
303
+ **For Amazon Linux 2023, RHEL 8/9, Fedora:**
304
+
305
+ Download and install Beyond Compare using the official .rpm package:
306
+
307
+ ```bash
308
+ wget -q -O /tmp/bcompare.rpm "https://www.scootersoftware.com/files/bcompare-5.1.7.31736.x86_64.rpm" && \
309
+ sudo dnf install -y /tmp/bcompare.rpm && \
310
+ rm -f /tmp/bcompare.rpm
311
+ ```
312
+
313
+ **For Amazon Linux 2, RHEL 7, CentOS 7:**
314
+
315
+ Use YUM instead of DNF:
316
+
317
+ ```bash
318
+ wget -q -O /tmp/bcompare.rpm "https://www.scootersoftware.com/files/bcompare-5.1.7.31736.x86_64.rpm" && \
319
+ sudo yum install -y /tmp/bcompare.rpm && \
320
+ rm -f /tmp/bcompare.rpm
321
+ ```
322
+
323
+ The `-y` flag automatically confirms package installation without prompts.
324
+
325
+ **Note**: Installing the .rpm package automatically adds the Scooter Software repository to your system for future updates.
326
+
327
+ #### Preventing Automatic Repository Addition
328
+
329
+ If you do not want the Scooter Software repository added to your system:
330
+
331
+ ```bash
332
+ sudo touch /etc/default/bcompare
333
+ wget -q -O /tmp/bcompare.rpm "https://www.scootersoftware.com/files/bcompare-5.1.7.31736.x86_64.rpm" && \
334
+ sudo dnf install -y /tmp/bcompare.rpm && \
335
+ rm -f /tmp/bcompare.rpm
336
+ ```
337
+
338
+ #### Verification
339
+
340
+ Confirm the installation succeeded:
341
+
342
+ ```bash
343
+ bcompare --version
344
+ ```
345
+
346
+ Expected output (version numbers may vary):
347
+
348
+ ```
349
+ Beyond Compare Version 5.1.7 (build 31736)
350
+ ```
351
+
352
+ Alternatively, verify the package is installed:
353
+
354
+ ```bash
355
+ rpm -qa | grep bcompare
356
+ ```
357
+
358
+ #### Troubleshooting
359
+
360
+ **Problem**: `wget: command not found`
361
+
362
+ **Solution**: Install wget first:
363
+
364
+ ```bash
365
+ sudo dnf install -y wget
366
+ # or for AL2/RHEL7:
367
+ sudo yum install -y wget
368
+ ```
369
+
370
+ **Problem**: Dependency errors mentioning GTK or display libraries
371
+
372
+ **Solution**: Install required GUI dependencies:
373
+
374
+ ```bash
375
+ sudo dnf groupinstall -y "Server with GUI"
376
+ # or for minimal install:
377
+ sudo dnf install -y gtk3 libXScrnSaver
378
+ ```
379
+
380
+ **Problem**: Beyond Compare fails to start on headless server
381
+
382
+ **Solution**: Beyond Compare requires X11. For remote access, use X11 forwarding:
383
+
384
+ ```bash
385
+ ssh -X user@host
386
+ bcompare
387
+ ```
388
+
389
+ Or install a desktop environment and use VNC/RDP.
390
+
391
+ ---
392
+
393
+ ### Windows (Chocolatey)
394
+
395
+ #### Prerequisites
396
+
397
+ - Windows 10 or Windows 11 (64-bit)
398
+ - Chocolatey package manager installed
399
+ - Administrator PowerShell or Command Prompt
400
+
401
+ If Chocolatey is not installed, install it first by running this command in an Administrator PowerShell:
402
+
403
+ ```powershell
404
+ 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'))
405
+ ```
406
+
407
+ #### Installation Steps
408
+
409
+ Run the following command in an Administrator PowerShell or Command Prompt:
410
+
411
+ ```powershell
412
+ choco install beyondcompare -y
413
+ ```
414
+
415
+ The `-y` flag automatically confirms all prompts, enabling fully non-interactive installation.
416
+
417
+ **Note**: The Chocolatey package automatically detects your system locale and installs the appropriate language version (English, German, French, Japanese, or Chinese).
418
+
419
+ #### Installation Parameters
420
+
421
+ For customized installation, use these optional parameters:
422
+
423
+ ```powershell
424
+ choco install beyondcompare -y --params="'/CurrentUser'"
425
+ ```
426
+
427
+ Available parameters:
428
+ - `/CurrentUser` - Install for current user only (default installs for all users)
429
+ - `/LCID:nnn` - Force specific language (e.g., `/LCID:1031` for German)
430
+
431
+ #### Verification
432
+
433
+ Open a new Command Prompt or PowerShell window (required for PATH to update), then run:
434
+
435
+ ```powershell
436
+ bcompare --version
437
+ ```
438
+
439
+ Expected output (version numbers may vary):
440
+
441
+ ```
442
+ Beyond Compare Version 5.1.7 (build 31736)
443
+ ```
444
+
445
+ Verify the application is installed:
446
+
447
+ ```powershell
448
+ Get-Command bcompare
449
+ ```
450
+
451
+ #### Troubleshooting
452
+
453
+ **Problem**: `bcompare: The term 'bcompare' is not recognized`
454
+
455
+ **Solution**: Open a new terminal window. The PATH is updated during installation but existing windows do not reflect this. Alternatively, refresh the environment:
456
+
457
+ ```powershell
458
+ refreshenv
459
+ ```
460
+
461
+ **Problem**: Installation fails with access denied
462
+
463
+ **Solution**: Ensure you are running PowerShell or Command Prompt as Administrator. Right-click and select "Run as administrator".
464
+
465
+ **Problem**: Chocolatey command not found
466
+
467
+ **Solution**: Chocolatey may not be in PATH. Close all terminal windows, open a new Administrator PowerShell, and try again.
468
+
469
+ ---
470
+
471
+ ### WSL (Ubuntu)
472
+
473
+ #### Prerequisites
474
+
475
+ - Windows Subsystem for Linux with Ubuntu installed
476
+ - WSL 2 recommended for best performance
477
+ - X Server running on Windows (for GUI support) or WSLg enabled (Windows 11)
478
+ - sudo privileges within WSL
479
+
480
+ **Important**: Beyond Compare is a GUI application. WSL requires an X server or WSLg to display graphical applications.
481
+
482
+ #### Installation Steps
483
+
484
+ WSL Ubuntu follows the same installation process as native Ubuntu:
485
+
486
+ ```bash
487
+ wget -q -O /tmp/bcompare.deb "https://www.scootersoftware.com/files/bcompare-5.1.7.31736_amd64.deb" && \
488
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && \
489
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y /tmp/bcompare.deb && \
490
+ rm -f /tmp/bcompare.deb
491
+ ```
492
+
493
+ #### Setting Up GUI Support
494
+
495
+ **For Windows 11 with WSLg (built-in GUI support):**
496
+
497
+ WSLg is enabled by default. No additional setup is required.
498
+
499
+ **For Windows 10 (requires X Server):**
500
+
501
+ Install an X server on Windows such as VcXsrv or X410, then configure the DISPLAY variable:
502
+
503
+ ```bash
504
+ export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
505
+ ```
506
+
507
+ Add this line to `~/.bashrc` for persistence.
508
+
509
+ #### Verification
510
+
511
+ Confirm the installation succeeded:
512
+
513
+ ```bash
514
+ bcompare --version
515
+ ```
516
+
517
+ Expected output (version numbers may vary):
518
+
519
+ ```
520
+ Beyond Compare Version 5.1.7 (build 31736)
521
+ ```
522
+
523
+ Test launching the GUI (requires X server or WSLg):
524
+
525
+ ```bash
526
+ bcompare &
527
+ ```
528
+
529
+ #### Troubleshooting
530
+
531
+ **Problem**: `cannot open display` error when launching Beyond Compare
532
+
533
+ **Solution**: For Windows 11, ensure WSL is updated:
534
+
535
+ ```bash
536
+ wsl --update
537
+ ```
538
+
539
+ For Windows 10, ensure your X server is running and the DISPLAY variable is set correctly.
540
+
541
+ **Problem**: Graphics appear garbled or slow
542
+
543
+ **Solution**: WSLg provides better performance than external X servers. If on Windows 10, consider upgrading to Windows 11 or using VcXsrv with GPU acceleration disabled.
544
+
545
+ **Problem**: Beyond Compare hangs on startup
546
+
547
+ **Solution**: Reset WSL:
548
+
549
+ ```bash
550
+ wsl --shutdown
551
+ ```
552
+
553
+ Then restart your WSL terminal.
554
+
555
+ ---
556
+
557
+ ### Git Bash (Manual/Portable)
558
+
559
+ #### Prerequisites
560
+
561
+ - Windows 10 or Windows 11 (64-bit)
562
+ - Git Bash installed (comes with Git for Windows)
563
+ - Beyond Compare installed on Windows (see Windows section above)
564
+
565
+ **Note**: Git Bash on Windows does not require a separate Beyond Compare installation. Git Bash inherits the Windows PATH, so once Beyond Compare is installed on Windows via Chocolatey or the official installer, it is automatically available in Git Bash.
566
+
567
+ #### Installation Steps
568
+
569
+ If Beyond Compare is already installed on Windows, it should be available in Git Bash. To install from Git Bash using Chocolatey (if Chocolatey is installed on Windows):
570
+
571
+ ```bash
572
+ /c/ProgramData/chocolatey/bin/choco.exe install beyondcompare -y
573
+ ```
574
+
575
+ Alternatively, download and run the installer silently:
576
+
577
+ ```bash
578
+ curl -L -o /tmp/BCompare.exe "https://www.scootersoftware.com/files/BCompare-5.1.7.31736.exe" && \
579
+ /tmp/BCompare.exe /VERYSILENT /NORESTART /ALLUSERS /SUPPRESSMSGBOXES
580
+ ```
581
+
582
+ The installer switches ensure completely silent installation:
583
+ - `/VERYSILENT` - No UI shown during installation
584
+ - `/NORESTART` - Do not restart computer after installation
585
+ - `/ALLUSERS` - Install for all users
586
+ - `/SUPPRESSMSGBOXES` - Suppress all message boxes
587
+
588
+ After installation, close and reopen Git Bash for PATH changes to take effect.
589
+
590
+ #### Verification
591
+
592
+ Confirm Beyond Compare is accessible from Git Bash:
593
+
594
+ ```bash
595
+ bcompare --version
596
+ ```
597
+
598
+ Expected output (version numbers may vary):
599
+
600
+ ```
601
+ Beyond Compare Version 5.1.7 (build 31736)
602
+ ```
603
+
604
+ Verify the executable path:
605
+
606
+ ```bash
607
+ which bcompare
608
+ ```
609
+
610
+ Expected output:
611
+
612
+ ```
613
+ /c/Program Files/Beyond Compare 5/bcompare
614
+ ```
615
+
616
+ #### Configuring Git to Use Beyond Compare
617
+
618
+ Beyond Compare integrates well with Git as a diff and merge tool. Configure Git to use it:
619
+
620
+ ```bash
621
+ git config --global diff.tool bc
622
+ git config --global difftool.bc.path "/c/Program Files/Beyond Compare 5/bcomp.exe"
623
+ git config --global difftool.prompt false
624
+
625
+ git config --global merge.tool bc
626
+ git config --global mergetool.bc.path "/c/Program Files/Beyond Compare 5/bcomp.exe"
627
+ git config --global mergetool.bc.trustExitCode true
628
+ ```
629
+
630
+ Test the configuration:
631
+
632
+ ```bash
633
+ git difftool HEAD~1
634
+ ```
635
+
636
+ #### Troubleshooting
637
+
638
+ **Problem**: `bcompare: command not found` in Git Bash
639
+
640
+ **Solution**: The Windows PATH may not be fully inherited. Add the Beyond Compare directory explicitly to your `~/.bashrc`:
641
+
642
+ ```bash
643
+ export PATH="$PATH:/c/Program Files/Beyond Compare 5"
644
+ ```
645
+
646
+ **Problem**: Git difftool shows path errors
647
+
648
+ **Solution**: Use Windows-style paths in Git configuration or escape spaces properly:
649
+
650
+ ```bash
651
+ git config --global difftool.bc.path "C:/Program Files/Beyond Compare 5/bcomp.exe"
652
+ ```
653
+
654
+ **Problem**: Silent installer exits but Beyond Compare is not installed
655
+
656
+ **Solution**: The silent installer requires Administrator privileges. Open Git Bash as Administrator by right-clicking on the shortcut and selecting "Run as administrator".
657
+
658
+ ---
659
+
660
+ ## Post-Installation Configuration
661
+
662
+ After installing Beyond Compare on any platform, you may want to configure several optional features.
663
+
664
+ ### Registering Your License
665
+
666
+ Beyond Compare includes a 30-day trial. To register a purchased license:
667
+
668
+ 1. Open Beyond Compare
669
+ 2. Go to **Help > Enter Key** (Windows/Linux) or **Beyond Compare > Enter Key** (macOS)
670
+ 3. Enter your license key
671
+
672
+ For silent registration during deployment, create a license file. Refer to Scooter Software's Network Setup guide for enterprise deployment options.
673
+
674
+ ### Configuring as Default Diff/Merge Tool
675
+
676
+ #### For Git (All Platforms)
677
+
678
+ Configure Git to use Beyond Compare for diffs and merges:
679
+
680
+ ```bash
681
+ # Set Beyond Compare as diff tool
682
+ git config --global diff.tool bc
683
+ git config --global difftool.prompt false
684
+
685
+ # Set Beyond Compare as merge tool
686
+ git config --global merge.tool bc
687
+ git config --global mergetool.bc.trustExitCode true
688
+ ```
689
+
690
+ Usage:
691
+ - `git difftool` - View diff in Beyond Compare
692
+ - `git mergetool` - Resolve merge conflicts in Beyond Compare
693
+
694
+ #### For SVN
695
+
696
+ Beyond Compare can be configured as the external diff tool for Subversion. Add to your SVN config file (`~/.subversion/config` on Unix, `%APPDATA%\Subversion\config` on Windows):
697
+
698
+ ```ini
699
+ [helpers]
700
+ diff-cmd = /path/to/bcomp
701
+ ```
702
+
703
+ ### Session File Defaults
704
+
705
+ Beyond Compare uses sessions to save comparison configurations. Default session locations:
706
+
707
+ - **Windows**: `%APPDATA%\Scooter Software\Beyond Compare 5\`
708
+ - **macOS**: `~/Library/Application Support/Beyond Compare 5/`
709
+ - **Linux**: `~/.config/bcompare5/`
710
+
711
+ ---
712
+
713
+ ## Common Issues
714
+
715
+ ### Issue: Beyond Compare Runs Slowly with Large Files
716
+
717
+ **Symptoms**: UI becomes unresponsive when comparing very large files or directories with many files.
718
+
719
+ **Solution**: Adjust comparison settings:
720
+
721
+ 1. Go to **Tools > Options > Comparison**
722
+ 2. Enable "Quick compare" option for large directory comparisons
723
+ 3. Disable "Compare contents" for initial scans
724
+ 4. Increase memory allocation if available in options
725
+
726
+ ### Issue: Character Encoding Problems
727
+
728
+ **Symptoms**: Special characters display incorrectly, or files show as entirely different when they are not.
729
+
730
+ **Solution**: Set the correct encoding:
731
+
732
+ 1. Open the file comparison
733
+ 2. Go to **Format > Encoding**
734
+ 3. Select the correct encoding (UTF-8 is recommended for most cases)
735
+
736
+ ### Issue: Line Ending Differences Flagged as Changes
737
+
738
+ **Symptoms**: Files appear different due to Windows (CRLF) vs Unix (LF) line endings.
739
+
740
+ **Solution**: Configure Beyond Compare to ignore line ending differences:
741
+
742
+ 1. Go to **Session > Session Settings**
743
+ 2. Under "Misc" tab, check "Ignore line endings"
744
+
745
+ ### Issue: Network/Cloud Storage Access Fails
746
+
747
+ **Symptoms**: Unable to connect to FTP, SFTP, or cloud storage locations.
748
+
749
+ **Solution**: Verify network connectivity and credentials. For FTP/SFTP:
750
+
751
+ 1. Go to **Tools > Options > FTP**
752
+ 2. Verify proxy settings if behind a corporate firewall
753
+ 3. Check that the server address and port are correct
754
+
755
+ ### Issue: Beyond Compare Not Found After Installation
756
+
757
+ **Symptoms**: Terminal cannot find `bcompare` command after installation.
758
+
759
+ **Solution**: The installation path may not be in your system PATH. Verify installation location and add to PATH:
760
+
761
+ **Linux**:
762
+ ```bash
763
+ export PATH="$PATH:/usr/bin"
764
+ ```
765
+
766
+ **Windows** (PowerShell):
767
+ ```powershell
768
+ $env:PATH += ";C:\Program Files\Beyond Compare 5"
769
+ ```
770
+
771
+ ---
772
+
773
+ ## Uninstallation
774
+
775
+ ### macOS
776
+
777
+ ```bash
778
+ brew uninstall --cask beyond-compare
779
+ ```
780
+
781
+ ### Ubuntu/Debian
782
+
783
+ ```bash
784
+ sudo apt remove -y bcompare
785
+ ```
786
+
787
+ ### Amazon Linux/RHEL
788
+
789
+ ```bash
790
+ sudo dnf remove -y bcompare
791
+ # or for AL2/RHEL7:
792
+ sudo yum remove -y bcompare
793
+ ```
794
+
795
+ ### Windows
796
+
797
+ ```powershell
798
+ choco uninstall beyondcompare -y
799
+ ```
800
+
801
+ ---
802
+
803
+ ## References
804
+
805
+ - [Scooter Software Official Website](https://www.scootersoftware.com/)
806
+ - [Beyond Compare Download Page](https://www.scootersoftware.com/download)
807
+ - [Beyond Compare Linux Installation Guide](https://www.scootersoftware.com/kb/linux_install)
808
+ - [Beyond Compare macOS Command Line Tools](https://www.scootersoftware.com/support.php?zz=kb_OSXInstallCLT)
809
+ - [Beyond Compare Homebrew Cask](https://formulae.brew.sh/cask/beyond-compare)
810
+ - [Beyond Compare Chocolatey Package](https://community.chocolatey.org/packages/beyondcompare)
811
+ - [Beyond Compare Version Control Integration](https://www.scootersoftware.com/support.php?zz=kb_vcs)
812
+ - [Beyond Compare Command Line Reference](https://www.scootersoftware.com/v4help/command_line_reference.html)
813
+ - [Scooter Software Forums](https://forum.scootersoftware.com/)