Can anyone help me to setup a local environment for Wordpress development

I’m learning wordpress development and I don’t have any server which my instructor has asked me to have like MAMP. Are there any alternatives to it? If yes please let me know. Also please let me knoe anything else you are using to learn wordpress.
I would also love to know what you have in your environment for the same.