I am sure a lot of us do some development locally. At least try some scripts before running it on a live environment. What do use for the local environment ? I think Linux is much more useful than Windows. Terminal makes a lot of things easy.
I was confused between LAMP and XAMPP. They say XAMPP is only for local development as it has some settings which are not suitable for production.