Skip to content

Installation on Mac

gemmaro edited this page Mar 7, 2021 · 2 revisions

Installing Via Homebrew

$ brew install gitbucket
==> Downloading https://github.com/gitbucket/gitbucket/releases/download/4.35.3/gitbucket.war
######################################################################## 100.0%
==> Caveats
Note: When using launchctl the port will be 8080.

To have launchd start gitbucket now and restart at login:
  brew services start gitbucket
Or, if you don't want/need a background service you can just run:
  java -jar /usr/local/opt/gitbucket/libexec/gitbucket.war
==> Summary
🍺  /usr/local/Cellar/gitbucket/4.35.3: 4 files, 50MB, built in 5 seconds

Manual Installation

On OS X, generate gitbucket.plist by this script and copy it to ~/Library/LaunchAgents/

Run the following commands in Terminal to

  • start gitbucket: launchctl load ~/Library/LaunchAgents/gitbucket.plist
  • stop gitbucket: launchctl unload ~/Library/LaunchAgents/gitbucket.plist