macos.adoc 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. = macOS Desktop
  2. OliveTin runs natively on macOS, on both Apple Silicon (M-series) and Intel Macs. It is a single, self-contained binary - there is no installer and no dependencies to set up.
  3. If you want OliveTin to run in the background and start automatically, follow the xref:install/macos_service.adoc[install OliveTin as a launchd service] instructions instead.
  4. == Download
  5. macOS builds are published on the link:https://github.com/OliveTin/OliveTin/releases/latest[releases page]. Choose the archive that matches your Mac's processor:
  6. [cols="1,1"]
  7. |===
  8. | Your Mac | Archive
  9. | Apple Silicon (M1/M2/M3/M4)
  10. | link:https://github.com/OliveTin/OliveTin/releases/latest/download/OliveTin-darwin-arm64.tar.gz[`OliveTin-darwin-arm64.tar.gz`]
  11. | Intel
  12. | link:https://github.com/OliveTin/OliveTin/releases/latest/download/OliveTin-darwin-amd64.tar.gz[`OliveTin-darwin-amd64.tar.gz`]
  13. |===
  14. Not sure which you have? Run `uname -m` in Terminal - `arm64` means Apple Silicon, `x86_64` means Intel.
  15. [NOTE]
  16. If you run the wrong architecture, macOS reports `Bad CPU type in executable`. Download the other archive if you see this.
  17. == Extract
  18. Start a terminal, then extract the archive and change into the directory (replace `arm64` with `amd64` on Intel):
  19. [source,shell]
  20. ----
  21. tar -xzf OliveTin-darwin-arm64.tar.gz
  22. cd OliveTin-darwin-arm64
  23. ----
  24. == Remove the Gatekeeper quarantine
  25. The binary is downloaded from the internet and is not notarized by Apple, so on first run Gatekeeper blocks it with a message like _"OliveTin can't be opened because Apple cannot check it for malicious software."_
  26. Clear the quarantine attribute so it will run:
  27. [source,shell]
  28. ----
  29. xattr -dr com.apple.quarantine ./OliveTin
  30. ----
  31. [TIP]
  32. Alternatively, the first time only, right-click the binary in Finder and choose *Open*, or approve it under *System Settings -> Privacy & Security*.
  33. include::partial$install/post_generic.adoc[]