Installing OneDev on macOS

Prerequisites

You need to have the following installed in your system:

  • Java Runtime Environment 8 or higher
  • Git

Installation Steps

  1. Download the latest OneDev release from https://github.com/TheSoftwareDesignLab/onedev/releases.

  2. 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
    
  3. Change into the onedev directory and start the server with:

    $ ./onedev start
    
  4. Once the server has started, you can access OneDev in your browser at http://localhost:6610.

  5. 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!