This article will give you some recommedations for installing Magento on your local computer.
Here are products you can use for different devices:
For each of these platforms, you'll find good video guides on YouTube. For example, this is a guide to installing Magento 2 on XAMPP on Windows:
If you're technically-minded, you can skip the all-in-one servers provided by MAMP, WAMP and XAMPP. For example, this next video shows you how to install Magento 2 directly on Ubuntu: