Good question, thanks.
This works for both mac and Linux/Unix and bsd-like sysyrms. I haven’t used windows for about 15 years now. But I plan on installing it in a VM to also help the windows users in my following articles. For now, all I can say is to Google how to install python on windows and how to use virtualenv on windows. It’s probably very similar.