Use mac to take wifi and output ethernet to another device?

Ethanh100

Reputable
Jun 10, 2014
1,208
0
5,960
311
Hi,
I have a raspberry pi that i want to use in my tv room but there is no ethernet in there and i dont have a usb wifi dongle, i was wondering before i buy one, can i use my macbook pro and takje the wifi and output ethernet from it to my raspberry pi? thanks!