New install on raspberry pi 4 audio not working

To re-direct the output to the 3.5 mm jack

sudo amixer cset numid=3 1

last digit
0 = auto
1 = 3.5 mm
2 = HDMI

You may have to turn the volume up.