This Homebrew tap contains IRAF and support packages. Most of them are community maintained.
brew tap iraf-community/tap
brew install iraf
brew install x11iraf
…The iraf environment variable is
export iraf=${HOMEBREW_PREFIX}/opt/iraf/libexec/- iraf: Image Reduction and Analysis Facility
- x11iraf: X11 terminal emulator and image display for IRAF
- iraf-ctio: Tools for the Cerro Tololo Inter-American Observatory
- iraf-fitsutil: FITS utilities for IRAF
- iraf-mscred: Mosaic CCD reduction package
- iraf-rvsao: Radial velocities package
- iraf-sptable: Tabular spectra utilities
- iraf-st4gem: Selected tasks from STSDAS
- iraf-xdimsum: Deep infrared mosaicing software
PyRAF can be installed from PyPI with the command
pip install pyraf