You need to have the following installed in your system:
Download the latest OneDev release from https://github.com/TheSoftwareDesignLab/onedev/releases.
Extract the downloaded zip file to a directory of your choice, say ~/onedev/. You could do this on the command line with:
$ mkdir -p ~/onedev
$ cd ~/onedev
$ curl -L https://github.com/TheSoftwareDesignLab/onedev/releases/latest/download/onedev.zip -o onedev.zip
$ unzip onedev.zip
Change into the onedev directory and start the server with:
$ ./onedev start
Once the server has started, you can access OneDev in your browser at http://localhost:6610.
To stop the server, simply run the following command from within the onedev directory:
$ ./onedev stop
That's it! You now have OneDev installed and running on your macOS machine. Happy developing!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!