Tagged
#macOS
4 posts
-
macOS GUI Terminal vs. SSH Sessions: Why launchctl managername Matters
Open Terminal sitting at your Mac, then SSH into the same machine as the same user — both spawn what looks like the same zsh, but they behave very differently: keychain unlock state, environment variables, TCC permissions, pbcopy, TouchID, osascript notifications all diverge. Every one of those differences traces back to a single thing — whether launchctl managername reports Aqua or Background. This post walks through the gotchas you actually hit, the launchd domain machinery underneath, and how to make SSH sessions behave more like GUI ones when you're treating a Mac as a server.
-
macOS SSH and Claude Code "Logged Out": The Keychain Unlock Fix
SSH into a Mac, fire up Claude Code, and get prompted to /login — even though you're already signed in at the GUI Terminal and tmux sessions sometimes hit the same thing. It's not a Claude Code bug; it's the macOS login keychain not being unlocked in non-GUI sessions. One security unlock-keychain command fixes it. This post covers why SSH triggers it, why the command works, and other tools (gh, git, docker, codesign…) that hit the same wall.
-
nano Tutorial: Editing Files in the Terminal on Linux and macOS
nano is the beginner-friendly terminal text editor — no modes to learn, shortcuts shown at the bottom of the screen, and installed by default on most Linux distributions. This tutorial walks through nano from installation on Linux and macOS, through file operations, cursor movement, cut/copy/paste, undo/redo, and search and replace, to syntax highlighting and line numbers via .nanorc. Includes a full keyboard shortcut reference and workflow examples for editing system configs, setting nano as your default editor, and using it inside tmux.
-
Homebrew on macOS: A Beginner's Guide to Package Management
Homebrew is the most popular package manager for macOS. Install, update, and remove software with a single command — no DMG downloads or manual configuration. This beginner's tutorial walks through installation, Formulae, Casks, upgrades, health checks, and running packages as system services.