Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quochoangvp/5e7c0dede06ea76ceced1de753fe09dc to your computer and use it in GitHub Desktop.
Save quochoangvp/5e7c0dede06ea76ceced1de753fe09dc to your computer and use it in GitHub Desktop.
Install dynamodb-local through Homebrew (custom formula)

Install dynamodb-local through Homebrew

An official formula for dynamodb-local existed, but was removed since dynamodb-local is not open source and stopped having versions.

Now its available either through a Cask, or by installing it as a formula from an unofficial tap (third party repo).

When installed as a cask dynamodb-local cannot be exposed as a service, so here we are installing it as a formula. It has been forked from rjcoelho/homebrew-boneyard and updated to be a head-only formula, to avoid checksum erros on new versions. It is available at dgoguerra/homebrew-boneyard.

# dynamodb-local depends on Java 6+
brew cask install java

# Install as a head-only formula
brew install --HEAD dgoguerra/boneyard/dynamodb-local

# Launch its service
brew services start dgoguerra/boneyard/dynamodb-local

Admin GUI

For more info about dynamodb-local and an admin interface for it, see: https://github.com/tongueroo/jets/wiki/Dynamodb-Local-Setup-Walkthrough

# Install admin GUI
npm install dynamodb-admin -g

# Run admin GUI and open it in a browser
dynamodb-admin & open http://localhost:8001 && fg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment