{"id":49871310,"url":"https://github.com/engineervix/macos-setup","last_synced_at":"2026-05-15T07:36:10.465Z","repository":{"id":356314572,"uuid":"1231963801","full_name":"engineervix/macos-setup","owner":"engineervix","description":"Opinionated macOS dev environment setup with Aerospace","archived":false,"fork":false,"pushed_at":"2026-05-07T15:15:49.000Z","size":190,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-07T15:27:49.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://engineervix.github.io/macos-setup/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/engineervix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-07T13:06:06.000Z","updated_at":"2026-05-07T15:26:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/engineervix/macos-setup","commit_stats":null,"previous_names":["engineervix/macos-setup"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/engineervix/macos-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineervix%2Fmacos-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineervix%2Fmacos-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineervix%2Fmacos-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineervix%2Fmacos-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/engineervix","download_url":"https://codeload.github.com/engineervix/macos-setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineervix%2Fmacos-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33058088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-15T07:36:09.740Z","updated_at":"2026-05-15T07:36:10.457Z","avatar_url":"https://github.com/engineervix.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# macOS Developer Setup\n\n[![forthebadge](https://forthebadge.com/badges/works-on-my-machine.svg)](https://forthebadge.com)\n\n![macOS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge\u0026logo=macos\u0026logoColor=F0F0F0)\n![Bash Script](https://img.shields.io/badge/bash_script-%23121011.svg?style=for-the-badge\u0026logo=gnu-bash\u0026logoColor=white)\n\nAutomated setup script for macOS, establishing a development environment that _attempts_ to mirror my [openSUSE Tumbleweed](https://github.com/engineervix/opensuse-setup) / [Hyprland](https://github.com/engineervix/dotfiles) setup as closely as possible — same shell stack, same theme, same muscle memory.\n\nSee [`docs/notes/mac-migration-plan.md`](./docs/notes/mac-migration-plan.md) for the full rationale and tool-by-tool mapping.\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [Stack](#stack)\n- [Installation](#installation)\n- [Prerequisites](#prerequisites)\n- [Post-Installation](#post-installation)\n  - [Maccy (Clipboard Manager)](#maccy-clipboard-manager)\n  - [SketchyBar](#sketchybar)\n  - [SwipeAeroSpace](#swipeaerospace)\n  - [Kitty](#kitty)\n  - [pyenv](#pyenv)\n  - [VS Code](#vs-code)\n  - [Neovim](#neovim)\n  - [UK External Keyboard (e.g. Logitech K270)](#uk-external-keyboard-eg-logitech-k270)\n- [Manual Installs](#manual-installs)\n- [Keybindings](#keybindings)\n  - [AeroSpace (Window Manager)](#aerospace-window-manager)\n  - [Spotlight / Maccy / Screenshots](#spotlight--maccy--screenshots)\n- [Further Reading](#further-reading)\n- [Directory Structure](#directory-structure)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Stack\n\n| Component           | Linux             | macOS                                                       |\n| :------------------ | :---------------- | :---------------------------------------------------------- |\n| **Window Manager**  | Hyprland          | [AeroSpace](https://github.com/nikitabobko/AeroSpace)       |\n| **Status Bar**      | Waybar            | [SketchyBar](https://github.com/FelixKratz/SketchyBar)      |\n| **Launcher**        | Rofi              | Spotlight (built-in)                                        |\n| **Terminal**        | Kitty             | Kitty (unchanged)                                           |\n| **Shell**           | Zsh + Starship    | Zsh + Starship (unchanged)                                  |\n| **Editor**          | Neovim            | Neovim (unchanged)                                          |\n| **Packages**        | zypper            | Homebrew                                                    |\n| **Docker**          | Docker            | OrbStack                                                    |\n| **Focus indicator** | Hyprland built-in | [JankyBorders](https://github.com/FelixKratz/JankyBorders)  |\n| **Workspace swipe** | —                 | [SwipeAeroSpace](https://github.com/MediosZ/SwipeAeroSpace) |\n| **Theme**           | Catppuccin Mocha  | Catppuccin Mocha                                            |\n\n**Modifier key:** `alt` (Option) in AeroSpace mirrors `Super` (Windows key) in Hyprland. See [keybindings](#keybindings).\n\n## Installation\n\n```bash\ngit clone \u003cthis-repo\u003e\n# cd into the cloned repo directory\nchmod +x install.sh scripts/*.sh\n./install.sh\n```\n\nThe script runs four modular phases in sequence:\n\n| Phase | Script            | What it does                                                                            |\n| :---- | :---------------- | :-------------------------------------------------------------------------------------- |\n| 1     | `01_preflight.sh` | Checks Xcode CLI tools; applies macOS system defaults                                   |\n| 2     | `02_homebrew.sh`  | Installs Homebrew; runs `Brewfile`                                                      |\n| 3     | `03_tooling.sh`   | Installs Volta/Node/npm, Rustup, Claude Code, Go tools, pipx packages, Neovim config, fzf, git-delta |\n| 4     | `04_dotfiles.sh`  | Clones dotfiles repo; symlinks `zshrc`, `aerospace.toml`, Starship, Kitty, and SketchyBar config; starts SketchyBar service |\n\nSafe to re-run — all steps are idempotent.\n\n## Prerequisites\n\n- macOS (Apple Silicon assumed — `/opt/homebrew`)\n- Xcode installed from the Mac App Store (the script handles the CLI tools)\n- Internet connection\n\n## Post-Installation\n\nThese steps require a GUI or credentials and cannot be automated.\n\n### Maccy (Clipboard Manager)\n\nMaccy is installed by the Brewfile. On first launch, set a hotkey in Maccy preferences — suggested `cmd+shift+v` (`alt+h` is taken by AeroSpace focus-left). Adjust history size and ignored apps to taste.\n\nSpotlight also has built-in clipboard history (`Cmd+Space` then `⌘4`), synced across devices via iCloud.\n\n### SketchyBar\n\nConfig is provided in `conf/sketchybar/` and symlinked by the install script. It shows AeroSpace workspace indicators and active app name on the left, and clock, network, volume, and battery on the right — all Catppuccin Mocha.\n\nIf the bar doesn't appear after install:\n\n```bash\nbrew services restart sketchybar\n```\n\nIf icons look wrong, confirm `JetBrainsMono Nerd Font` is installed (it should be — it's in the Brewfile as `font-jetbrains-mono-nerd-font`).\n\n### SwipeAeroSpace\n\nGrant Accessibility permission when prompted on first launch, or manually:\n`System Settings → Privacy \u0026 Security → Accessibility → SwipeAeroSpace`\n\n### Kitty\n\nConfig is symlinked automatically from `~/dotfiles/.config/kitty`. If the font doesn't render, change `kitty.conf`:\n\n```\nfont_family JetBrainsMonoNL NFM\n```\n\n### pyenv\n\n```bash\npyenv install \u003cyour-version\u003e\npyenv global \u003cyour-version\u003e\n```\n\n### VS Code\n\nSign in to **Settings Sync** to restore extensions and keybindings.\n\n### Neovim\n\nOn first launch, Lazy.nvim will install plugins automatically.\n\n### UK External Keyboard (e.g. Logitech K270)\n\nThe built-in **British PC** input source swaps the `\\` and `` ` `` keys, making the keyboard unusable. The fix is a custom keyboard layout from [GeorgeColdham/Mac-Uk-Keyboard-Layouts](https://github.com/GeorgeColdham/Mac-Uk-Keyboard-Layouts).\n\n1. Clone the repo and copy the layouts to the system keyboard directory:\n\n   ```bash\n   git clone https://github.com/GeorgeColdham/Mac-Uk-Keyboard-Layouts.git /tmp/Mac-Uk-Keyboard-Layouts\n   sudo cp /tmp/Mac-Uk-Keyboard-Layouts/layouts/* /Library/Keyboard\\ Layouts/\n   ```\n\n2. Go to **System Settings → Keyboard → Input Sources**, click `+`, scroll to **Others** at the bottom, and add the layout from there.\n\n3. Enable **Show Input menu in menu bar** so you can quickly switch between the external UK layout and the built-in keyboard layout.\n\nLog out and back in if the layout doesn't appear under Others.\n\n## Manual Installs\n\nThese apps have no Homebrew cask. See the migration plan for details.\n\n| App                  | Source                        | Notes                                                |\n| :------------------- | :---------------------------- | :--------------------------------------------------- |\n| Xcode                | Mac App Store                 | Install before running script                        |\n| Microsoft 365        | microsoft.com / Mac App Store | Word, Excel, PowerPoint, Outlook, OneNote, OneDrive  |\n| Ableton Live 12 Lite | ableton.com                   | Lite license; activate via Ableton account           |\n| Vital                | vital.audio                   | Free synth plugin; requires account                  |\n| Splice INSTRUMENT    | splice.com                    | Plugin manager; requires account                     |\n| BricsCAD             | bricsys.com                   | Commercial CAD; requires license key                 |\n| NTFS for Mac         | Paragon or similar            | Commercial; needed for NTFS read/write               |\n| Sweet Home 3D        | sweethome3d.com               | Free; no cask available                              |\n| Antigravity          | custom installer              | Re-run original installer; PATH entry is in `.zshrc` |\n\n## Keybindings\n\n### AeroSpace (Window Manager)\n\n| Action                               | macOS                     | Linux equivalent    |\n| :----------------------------------- | :------------------------ | :------------------ |\n| Launch terminal                      | `alt+q`                   | `Super+Q`           |\n| Close window                         | `alt+c`                   | `Super+C`           |\n| App launcher (Spotlight)             | `alt+r`                   | `Super+R`           |\n| File manager (Finder)                | `alt+e`                   | `Super+E`           |\n| Toggle float                         | `alt+v`                   | `Super+V`           |\n| Switch workspace                     | `alt+1-0`                 | `Super+1-0`         |\n| Move to workspace                    | `alt+shift+1-0`           | `Super+Shift+1-0`   |\n| Previous workspace                   | `alt+tab`                 | `Super+Tab`         |\n| Move workspace to next monitor       | `alt+shift+tab`           | `Super+Shift+Right` |\n| Move focus                           | `alt+hjkl` / `alt+arrows` | `Super+arrows`      |\n| Move window                          | `alt+shift+hjkl`          | `Super+Shift+hjkl`  |\n| Resize mode                          | `alt+w`                   | `Super+W`           |\n| Screenshot → clipboard               | `alt+shift+s`             | `Super+Print`       |\n| Service mode (reload / reset / join) | `alt+shift+;`             | —                   |\n\n### Spotlight / Maccy / Screenshots\n\n| Action                 | macOS                           | Linux equivalent    |\n| :--------------------- | :------------------------------ | :------------------ |\n| App launcher           | `Cmd+Space` or `alt+r`          | `Super+R`           |\n| Clipboard history      | `cmd+shift+v` (set in Maccy)    | `Super+H`           |\n| Spotlight clipboard    | `Cmd+Space` → `⌘4`             | —                   |\n| Full screenshot → file | `Cmd+Shift+3`                   | `Print`             |\n| Region → file          | `Cmd+Shift+4`                   | `Super+Shift+Print` |\n| Region → clipboard     | `alt+shift+s` (AeroSpace)       | `Super+Print`       |\n| Screen recording       | `Cmd+Shift+5`                   | `Super+Shift+R`     |\n\n## Further Reading\n\nAeroSpace community write-ups that informed this config:\n\n- [imfing.com — AeroSpace tiling window manager](https://imfing.com/til/aerospace-tiling-window-manager/)\n- [vinayakg.dev — Tiling manager AeroSpace on macOS](https://vinayakg.dev/blog/tiling-manager-aerospace-mac-os) — layout normalization, balance-sizes\n- [jneidel.com — AeroSpace window management guide](https://jneidel.com/guide/aerospace-window-management/) — comprehensive reference\n- [ryan.himmelwright.net — Been using AeroSpace WM](https://ryan.himmelwright.net/post/been-using-aerospace-wm/) — JankyBorders, multi-monitor tips\n- [roguelazer.com — AeroSpace](https://www.roguelazer.com/blog/2026-02-aerospace/) — SwipeAeroSpace discovery\n\n## Directory Structure\n\n```\n.\n├── install.sh            Orchestrator\n├── Brewfile              Homebrew package manifest\n├── conf/\n│   ├── zshrc             Shell config → symlinked to ~/.zshrc\n│   ├── aerospace.toml    AeroSpace config → symlinked to ~/.aerospace.toml\n│   └── sketchybar/       SketchyBar config → symlinked to ~/.config/sketchybar/\n│       ├── sketchybarrc\n│       └── plugins/\n│           ├── aerospace.sh\n│           ├── battery.sh\n│           ├── clock.sh\n│           ├── front_app.sh\n│           ├── network.sh\n│           └── volume.sh\n├── scripts/\n│   ├── 01_preflight.sh\n│   ├── 02_homebrew.sh\n│   ├── 03_tooling.sh\n│   └── 04_dotfiles.sh\n├── README.md\n└── docs/\n    ├── _config.yml       Jekyll / GitHub Pages config\n    ├── Gemfile\n    ├── index.md\n    ├── cheatsheets/\n    │   └── aerospace-cheatsheet.html\n    └── notes/\n        ├── mac-migration-plan.md  Strategy doc: tool-by-tool Linux→Mac mapping\n        └── review.md              Pre-run checklist and known gaps\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineervix%2Fmacos-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengineervix%2Fmacos-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineervix%2Fmacos-setup/lists"}