Enable JavaScript to use search. / 検索を使用するには JavaScript を有効にしてください。
Posts with #homebrew
Fri, February 2, 2024
1 min read
How to Create Digital Stamps for Free with Adobe Acrobat Reader and Stamp PDFs
Creating a free personal digital stamp with Adobe Acrobat Reader and applying it to a PDF approver field.
read more →
Thu, February 19, 2026
2 min read
Managing Claude Code, Codex, and Gemini CLI with Homebrew and mise
To simplify setup across multiple Macs, I migrated Codex CLI and Gemini CLI to Homebrew and Claude Code to mise's install script.
Thu, March 24, 2022
Batch Output Amazon Receipts with 'Amazon Order History Filter' and Split with pdfseparate Command
Batch-export Amazon receipts with the Amazon Order History Filter extension and split the PDF with pdfseparate.
Tue, August 16, 2022
How to Install asdf [macOS Edition]
Installing asdf on M1 macOS with Homebrew and wiring it into zsh via `.zshrc`.
Sun, April 19, 2015
[Mac] How to Fix brew Command Not Working in Yosemite
How to fix the brew command on Mac OS X Yosemite when it fails with a bad interpreter error.
Sun, April 24, 2016
How to fix 'fatal: cannot create directory at '.github': Permission denied' error with brew update
How to fix brew update's Permission denied error by chown-ing /usr/local and resetting the Homebrew repo.
Sat, January 21, 2017
[Mac] Fixing 'Error: /usr/local must be writable!' with brew update
Notes on recovering from brew update's /usr/local must be writable! error via chown and brew prune.
Thu, March 17, 2022
How to Install dbt CLI [macOS Edition]
Installing dbt CLI on macOS via Homebrew and checking the version.
Sat, May 28, 2022
Dropbox CLI dbxcli Installation and Initial Setup [macOS Edition]
Installing dbxcli on macOS via Homebrew, logging in, and trying uploads from the CLI.
Sat, March 23, 2019
PDF File Difference Checking Tool: diff-pdf
Installing diff-pdf and using --view to visually compare two PDFs on macOS.
Thu, April 4, 2019
How to Manage Environment Variables with direnv
A walkthrough of managing per-directory environment variables with direnv, from install to direnv allow.
Wed, January 14, 2026
3 min read
How to Install Docker Desktop on an Existing Docker CLI Environment (macOS Homebrew)
Learn how to resolve completion file conflicts when installing Docker Desktop on an environment with only Docker CLI, using the --force option.
Wed, June 10, 2015
Converting mp3 to mp4 using FFmpeg to upload audio files to YouTube [macOS Edition]
Combine an mp3 and a jpg into an mp4 with FFmpeg on macOS for uploading audio to YouTube.
Tue, January 10, 2023
Enable CLI and Terminal auto-completion with Fig
Install Fig via Homebrew on macOS to add IDE-style autocompletion to your Terminal.
Tue, May 31, 2022
fish shell Installation Steps [macOS Edition]
Installing fish shell on macOS via Homebrew and switching the login shell to fish.
Tue, June 7, 2022
fish shell Uninstallation Steps [macOS Edition]
Switching my macOS login shell back to zsh and uninstalling fish shell after hitting nvm compatibility issues.
Sat, August 11, 2018
Installing geth (go-ethereum) and Connecting to Private Network [MacOS Edition]
Install geth on macOS via Homebrew and connect to an Ethereum private network.
Mon, August 29, 2016
How to set animated GIFs to loop playback
Using gifsicle's --loopcount and --batch options to configure loop playback for animated GIFs.
Sat, June 11, 2022
How to Install GIMP [macOS Edition]
Installing GIMP on macOS with Homebrew Cask and launching it for the first time.
Sun, December 15, 2013
[Git] diff-highlight: command not found Error
Symlink Homebrew Git's contrib/diff-highlight into your PATH to fix the command not found error.
Sat, March 30, 2013
[GitHub] Making PullRequests Easier with the hub Command
Use the hub CLI to send GitHub Pull Requests from the command line instead of a browser.
Thu, December 13, 2012
[Mac] Steps to install GMP with Homebrew
Install GMP, the arbitrary precision arithmetic library, on macOS with a single `brew install gmp`.
Sat, August 26, 2017
How to Update Heroku Command (heroku-cli) to the Latest Version
Updating heroku-cli to the latest version with Homebrew on macOS to silence the update available notice.
Fri, November 28, 2014
[Homebrew] brew missing, imagemagick: xz
Resolving a brew doctor warning by installing the missing xz dependency required by ImageMagick.
Mon, November 18, 2013
[Homebrew] brew upgrade Warning: No developer tools installed. -> Run `xcode-select --install`
Resolving a 'No developer tools installed' warning from brew upgrade by running xcode-select --install.
Sat, July 16, 2022
[macOS] Code Management of Homebrew Installations with Brewfile
Managing Homebrew installations as code with a Brewfile to make Mac migration painless.
Wed, February 11, 2026
Became a GitHub Sponsor of Homebrew
I became a GitHub Sponsor of Homebrew. It started when I visited the GitHub repository while organizing my Brewfile and discovered that I could sponsor the project.
Sat, March 31, 2012
How to Update and Upgrade Homebrew
The difference between brew update and brew upgrade, and how to use each command.
Sat, October 19, 2019
HTTrack - Tool for Saving Entire Websites - macOS Edition
How to install HTTrack on macOS via Homebrew and mirror a whole website for offline browsing.
Thu, June 2, 2016
After upgrading to Mac OS X El Capitan, hub command stopped working, but 'brew upgrade hub' fixed it
The hub command broke with ArgumentError after upgrading to El Capitan, and 'brew upgrade hub' fixed it.
[Mac] Steps to install ImageMagick with Homebrew
A quick note on installing ImageMagick on macOS with a single Homebrew command.
How to install Ansible 2 on Mac
A quick note on installing the Ansible 2.x series on macOS with Homebrew.
Tue, April 26, 2016
4 min read
Steps to quickly install Elasticsearch on Mac with Homebrew
Install Java and Elasticsearch via Homebrew, start the service, and add the elasticsearch-head plugin.
Fri, February 10, 2017
Installing iftop on Mac
After brew install iftop, the binary wasn't on PATH, so I symlinked it into /usr/local/bin/.
Sun, July 14, 2013
[Mac] Installing Nginx with Homebrew
brew install nginx on Mac and set it to auto-start via LaunchAgents with launchctl.
Sun, September 8, 2013
[Mac] Installing PHP5.4 with Homebrew
Tap josegonzalez/homebrew-php and install PHP 5.4 on Mac with fpm, intl, and pgsql options.
Tue, August 28, 2018
How to Install Python 3 on macOS High Sierra
Run brew install python3 on macOS High Sierra to get Python 3.7, then verify python3 and pip3.
Tue, January 29, 2013
[Git] Installation Steps for CUI Tool tig
brew install tig to get the Git CUI browser tig set up on Mac quickly.
Tue, June 16, 2015
Lossless compression of JPEG images with Jpegoptim
Losslessly compress JPEGs on macOS with Jpegoptim from Homebrew, plus a one-liner for batching a whole directory.
Sat, March 21, 2020
jpegtran Command to Remove Metadata from jpeg and jpg Image Files
Strip Exif metadata from JPEGs with jpegtran on macOS, plus a find + -exec one-liner to batch a directory.
Sat, December 22, 2012
JsDoc Toolkit Introduction
Intro notes on JsDoc Toolkit — reference sites, Homebrew install, and templates.
Sun, July 7, 2013
[Mac] Development Environment Setup Procedure Memo
A memo on setting up GCC, Homebrew, zsh, SSH, and gitconfig for a Mac development environment.
Tue, October 17, 2017
[Mac] Completely Uninstall Elasticsearch Installed with Homebrew
Fully uninstalling a Homebrew-installed Elasticsearch, including its data and log directories.
[Mac] Essential Homebrew Packages to Install
A 2013 list of essential Homebrew packages to install on Mac.
Tue, February 7, 2012
[Mac] How to Install apple-gcc42 with Homebrew
How to install apple-gcc42 from the homebrew-dupes Formula and use the classic gcc-4.2 command on macOS.
Sun, February 5, 2012
[JavaScript] Installing SpiderMonkey on Mac with Homebrew
Installing SpiderMonkey with Homebrew so you can run JavaScript from the console via the js command.
[Mac] Installing OpenSSL with Homebrew
A memo on installing OpenSSL via Homebrew and using brew link --force to replace the macOS default.
[Mac] After Installing Homebrew, Got Error "Warning: Now install Xcode: http://developer.apple.com/technologies/xcode.html"
The 'Warning: Now install Xcode' Homebrew message was fixed by installing Xcode from the App Store.
Fri, November 9, 2012
[Mac] Installing MySQL with Homebrew
Installing MySQL via Homebrew on macOS, setting up auto-start, and logging in as root.
Mon, January 28, 2013
[Mac] Installing nkf with Homebrew
Installing the nkf character encoding converter on macOS with brew install nkf.
Sat, November 5, 2011
[Mac] How to Install Node.js and npm [Homebrew]
Installing Node.js via Homebrew and npm via the curl-based install.sh on macOS.
Wed, November 21, 2012
[Mac] Installing Redis with Homebrew
Installing Redis via Homebrew, setting up launchctl auto-start, and connecting with redis-cli.
Mon, January 9, 2012
[Mac] Installing tree Command with Homebrew
Installing the tree command on macOS via Homebrew to visualize directory structures.
Fri, March 30, 2012
[Mac] How to Install wget
Installing wget on a Mac quickly via Homebrew.
Tue, September 25, 2012
[Mac] zsh Installation Steps and Configuration Memo
Switching the default Mac shell from bash to zsh via Homebrew, then configuring oh-my-zsh.
Sun, September 11, 2011
[macOS] Installing Homebrew (and Git While We're at It)
Installing Homebrew on macOS, verifying with brew doctor, and then installing Git through the package manager.
Sat, September 16, 2017
[MacOS] How to Uninstall All Versions of PostgreSQL ~ Homebrew Edition
Using brew uninstall --force to remove every Homebrew-installed PostgreSQL version on macOS, plus cleaning up the data directory.
Tue, February 10, 2026
macOS Initial Setup 2026 Edition
With a three-MacBook development setup, I had the chance to start from scratch. Here's my step-by-step workflow from Xcode Command Line Tools to a full Brewfile-based bulk install, documented as a work log.
Sun, March 4, 2012
How to Install Vim on Mac OS X Lion with Homebrew
Reinstalling Vim with +ruby on Mac OS X Lion via Homebrew, working around a libruby link error by switching to Ruby 1.8.7.
Sun, September 18, 2011
[MacOS] Steps to Install PostgreSQL with Homebrew
Installing PostgreSQL on macOS via Homebrew — initdb, launchd auto-start, PGDATA, and a non-superuser account.
Steps to Build Ruby on Rails Development Environment on Mac [Ruby 1.8.7]
Setting up a Rails development environment on macOS with the system Ruby 1.8.7, RubyGems, Rails, and SQLite3.
Fri, September 16, 2011
[Mac] Installing Ruby and Rails with RVM
How to install Ruby and Rails on Mac with RVM, pulling in dependencies through Homebrew.
Tue, March 30, 2021
Issuing SSL Server Certificates for Local Environment with mkcert
Issuing SSL/TLS certificates for localhost with mkcert, from install to multi-domain certs.
[Mac] Installing MongoDB with Homebrew
Installing MongoDB with Homebrew on macOS and setting it up as a launchd auto-start service.
Thu, March 27, 2014
[MongoDB] How to start two instances on different ports (Mac / Homebrew)
Run two Homebrew MongoDB instances side by side on ports 27017 and 27018 with a second config.
Wed, April 5, 2017
[MySQL] How to configure my.cnf (Mac + Homebrew Edition)
How to configure my.cnf for MySQL installed with Homebrew on Mac.
Tue, April 2, 2019
ngrok Installation and Public URL Checking Methods [macOS Edition]
A quick guide to installing ngrok on macOS and checking the public URL in three ways.
Thu, May 15, 2014
[Node.js] Using node-wkhtmltopdf
How to install wkhtmltopdf via Homebrew so you can use node-wkhtmltopdf from Node.js.
Thu, February 14, 2019
Error: Cannot find module '../build/Release/sodium' solution [macOS Edition]
Fixing the Node.js 'Cannot find module sodium' error on macOS with Homebrew's libsodium and a fresh npm install.
Sun, October 21, 2012
[Node.js] How to Install the Version Management Tool nodebrew on Mac
Installing the Node.js version manager nodebrew on Mac, with fixes for build-time issues.
Sat, February 2, 2013
[Node.js] How to Install the Version Management Tool nvm on Mac
A quick memo on installing the Node.js version manager nvm on Mac.
Sun, April 1, 2012
[Ruby] How to Install Nokogiri [Mac Version]
Installing Nokogiri on Mac with Homebrew's libxml2/libxslt and a source-built libiconv.
Sun, November 18, 2012
[Ruby] WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8
Fixing the Nokogiri vs LibXML version mismatch warning by reinstalling libxml2 libraries via Homebrew.
Fri, June 12, 2015
Lossless compression of PNG images with OptiPNG
Using OptiPNG on macOS to losslessly compress PNGs, individually or in a batch.
Fri, October 9, 2020
pdftoppm Command for Batch Converting PDF to Image Files on macOS
Batch converting PDF files to jpeg or png on macOS with pdftoppm, plus installing poppler via Homebrew.
Tue, October 20, 2020
How to Install PlantUML in VSCode (macOS Edition)
Installing the PlantUML extension in VSCode on macOS, with openjdk and graphviz via Homebrew.
Sun, December 18, 2016
Got Library not loaded: libreadline error when running psql, so I ran brew upgrade postgresql
How I fixed a psql libreadline error with brew upgrade postgresql and pg_upgrade.
Thu, March 7, 2019
[macOS] Random String Generation Command for Passwords: pwgen
Installing and using pwgen on macOS to generate random password strings, including symbol characters.
Tue, August 2, 2022
Remove Password from PDF Files with qpdf Command
Remove passwords and print restrictions from PDFs from the CLI using the open-source qpdf command.
Thu, August 4, 2022
QR Code Generation Command: qrencode
Install the qrencode command and generate QR codes safely from the CLI on CentOS, macOS, or Ubuntu.
Thu, May 28, 2020
Solution for rbenv/x.x.x/libexec/rbenv: No such file or directory
Fixing the rbenv/x.x.x/libexec/rbenv: No such file or directory error by running rbenv rehash.
Thu, January 5, 2023
[macOS] Rectangle App for Window Management with Keyboard Shortcuts
Rectangle lets you split and resize macOS windows with keyboard shortcuts — install via Homebrew in one command.
Thu, November 30, 2017
Solution for bundle/gem install rmagick error: Can't find MagickWand.h
Fixed the rmagick MagickWand.h build error by switching to Homebrew's imagemagick@6.
Sun, August 6, 2017
[Ruby] Solution for ERROR: cannot discover where libxml2 is located on your system. please make sure `pkg-config` is installed.
Fixing nokogiri's libxml2/pkg-config install error on macOS by installing the libraries with Homebrew and using system-libraries.
Wed, February 8, 2012
[RVM][Mac] Error running 'make ', please read ruby-1.9.2-p290/make.log
Working around a Ruby 1.9.2 make error on Mac OS X Lion by installing apple-gcc42 and using CC=gcc-4.2.
Thu, April 20, 2017
[Mac] terminal-notifier is convenient for notifying when Terminal commands complete!
How to install and use terminal-notifier to get Mac notifications when long Terminal commands finish.
Thu, March 23, 2023
Japanese Text Recognition from Images Using Tesseract OCR [macOS Edition]
Install Tesseract OCR on macOS, add the Japanese trained model, and recognize Japanese text from images.
Thu, July 14, 2022
Resolved tfenv install Error with brew install grep
Fixing a `tfenv install` error caused by missing GNU Grep with `brew install grep` on macOS.
Sat, November 14, 2020
Introduction to Terraform Version Management Tool tfenv [macOS Edition]
Getting started with tfenv on macOS to manage multiple Terraform versions across projects.
Sat, October 28, 2023
Installed VLC Due to QuickTime Freezing Bug on macOS 14 Sonoma
Working around QuickTime freezes on macOS 14 Sonoma by installing VLC via Homebrew Cask.
Thu, January 26, 2023
5 min read
Fixing whois Command Character Corruption with nkf [macOS]
Pipe whois through nkf to fix garbled Japanese output on macOS.
Tue, July 31, 2018
[macOS] dyld: Library not loaded: /usr/local/lib/QtWebKit.framework/Versions/4/QtWebKit
Fixing the wkhtmltopdf QtWebKit dyld error on macOS High Sierra with a Homebrew Cask reinstall.