Development on Windows is not well supported, unfortunately. You will have a much easier time if you develop on Mac or Linux as described under Development Environment section.
Vagrant commands appear below and were tested on Windows 10 but the Vagrant environment is currently broken. Please see https://github.com/IQSS/dataverse/issues/6849
Download and install Vagrant from https://www.vagrantup.com
Vagrant advises you to reboot but let’s install VirtualBox first.
Download and install VirtualBox from https://www.virtualbox.org
Note that we saw an error saying “Oracle VM VirtualBox 5.2.8 Setup Wizard ended prematurely” but then we re-ran the installer and it seemed to work.
Again, Vagrant asks you to reboot, so go ahead.
Launch Git Bash and run the following commands:
git config --global core.autocrlf input
Pro tip: Use Shift-Insert to paste into Git Bash.
If you skip this step you are likely to see the following error when you run
/tmp/vagrant-shell: ./install: /usr/bin/perl^M: bad interpreter: No such file or directory
From Git Bash, run the following command:
git clone https://github.com/IQSS/dataverse.git
We have been unable to get Windows Subsystem for Linux (WSL) to work. We tried following the steps at https://docs.microsoft.com/en-us/windows/wsl/install-win10 but the “Get” button was greyed out when we went to download Ubuntu.