It's absolutely worth learning to use Linux in a VM for this kind of development work - you'll be deploying on Linux anyway, so it makes sense to use that as your development environment as well.
Give VirtualBox a try - it's free. https://www.virtualbox.org/
Personally I like Ubuntu.