Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
RethinkDB Setup on OSX

RethinkDB Setup on OSX

This guide will get RethinkDB setup and running with a default configuration on OSX. There is also an option for setting RethinkDB to start at boot time on OSX, and a note on upgrading to a more recent RethinkDB version.

First Installation

Install Homebrew if you don't already have it:

ruby -e "$(curl -fsSL"

Install RethinkDB:

brew update
brew install rethinkdb

Now modify either ~/.bash_aliases or ~/.bashrc to add the following shortcuts to start/stop RethinkDB:

alias rethinkdb.start='launchctl load /usr/local/opt/rethinkdb/homebrew.mxcl.rethinkdb.plist'
alias rethinkdb.stop='launchctl unload /usr/local/opt/rethinkdb/homebrew.mxcl.rethinkdb.plist'

Run source ~/.bash_aliases or source ~/.bashrc to update the shell environment.

Run rethinkdb.start and then visit http://localhost:8080/

Python Development Tools

Install the python driver to access RethinkDB:

sudo pip install rethinkdb

Starting RethinkDB with OSX

If you'd prefer RethinkDB to be always available, run this command:

ln -sfv /usr/local/opt/rethinkdb/*.plist ~/Library/LaunchAgents

Upgrading RethinkDB

brew update
brew upgrade rethinkdb
sudo pip install -U rethinkdb

This comment has been minimized.

Copy link

@alvirtuoso alvirtuoso commented Jun 21, 2016

Hello! I got error below when i run rethinkdb.start

No such file error /usr/local/opt/rethinkdb/homebrew.mxcl.rethinkdb.plist

I have yosemite and found the plist here

so I changed my path accordingly but still got the "no such file or directory"


This comment has been minimized.

Copy link

@humoyun humoyun commented Jan 30, 2018

No need for adding aliases, just run 'brew services start rethinkdb' and that is all (HighSierra)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.