Running nexcloud/server on OSX

Hi,

I’m using OSX and it seems like in order to run Nextcloud locally, I need to use Docker. My problem is that I also would like to clone nextcloud/server and make slight changes. how can I combine those two?