using the script/command moon

Type the command moon for basic moon-phase information, or moon -p for a cute ASCII picture.
newton>  moon -help

usage: moon [-ntTuUp] [-dD] [-x xyratio] [quarter] [time [endtime [increment]]]

-n (numeric) print date, time, and phase as a number 0..1 (new..full..new)
-t (terse text) print only the date, time, and phase name
-T (text) print date, time, and a description of the moon's phase (default)
-u (until) tell how long from now until each specified event
-U (until) tell how long from time to quarter and/or each quarter to next
-p (picture) draw a picture of the moon's phase using characters
-d don't print the date and time with -ntT, just the phase information
-D print long form date and time with -ntT, instead of default (YYMMDD HH:MM)
-x set display/font character X/Y ratio (for square picture; default:  0.5)

quarter:    any of "new first full last next any"; if specified, tell when
            that quarter next occurs, or all occurrences in the time range
time:       value to use (default:  current system time)
endtime:    print phase or quarter information from time to endtime
increment:  amount to step through range of times; must end in one of:
            d(ays) h(ours) m(inutes) s(econds) (default:  1d)

Enter date/time in almost any reasonable format, quoted if it contains
blanks.  Year, month, and day default to current; hour, minute, and second to
zero; timezone to current, including DST if in effect (assumed west of
Greenwich).  To control timezone, set TZ, for example:  TZ=UTC0 moon