The incident happened at about 16:00 in Oldtown Road in the city's Hilton area.
Police Scotland said officers had increased patrols in the area to reassure the public, and has appealed for information about the attack.
The injured man was taken to Raigmore Hospital for treatment to his head.
A man was injured in an assault by another man outside a block of flats in Inverness on Saturday afternoon.