2026-04-21
April 20, 2026•125 words
Instructions for using manpage-ja on macOS.
It's somewhat disappointing I feel, but Linux's version is actually newer and more comprehensive than the BSD one.
Download
Documents: https://linuxjm.sourceforge.io/
Download from: https://github.com/linux-jm/manual/releases
Pre-configures
make a directory where you want to install the Japanese man pages.
sudo mkdir /opt/man/ja_JP.UTF-8### Example
sudo mkdir /opt/homebrew/var/cache/man/opt/ja_JP.UTF-8### optionaladd the install dir to \$MANPATH.
* .zshenv
export MANPATH="/opt/man:$MANPATH"
* .zshrc
MANPATH="/opt/man:$MANPATH"
dedup_path MANPATH "$MANPATH"
export MANPATH
export LANG=ja_JP.UTF-8### write into somewhere.brew install man-db mandoc
make
cd ~/Downloads/man-pages-ja-20260115
make configure
* Install dir: /opt/man/ja_JP.UTF-8
* uname: root
* gname: wheel
sudo make install
Post-configures
re-create mandb
mandb -q -s -crestart terminal