How to install nightly Grafana build or beta build on Mac using Homebrew

I followed this doc and ran command brew install --HEAD grafana/grafana/grafana
But , it installs Grafana Build 4.6.3, how could I install Beta build or nightly builds on Mac?

does brew reinstall --HEAD grafana/grafana/grafana work?

Nope. getting error Fatal error: Unable to find local grunt.

SBHINGARE-MBP15:~ swapnil.kotwal$ brew list grafana | head -1
SBHINGARE-MBP15:~ swapnil.kotwal$ npm -v
SBHINGARE-MBP15:~ swapnil.kotwal$ grunt -version
grunt-cli v1.2.0
grunt v1.0.2
SBHINGARE-MBP15:~ swapnil.kotwal$ node -v
SBHINGARE-MBP15:~ swapnil.kotwal$ brew reinstall --HEAD grafana/grafana/grafana
==> Reinstalling grafana/grafana/grafana
==> Cloning
Updating /Users/swapnil.kotwal/Library/Caches/Homebrew/grafana–git
==> Checking out branch master
==> go run build.go build
==> yarn install
==> npm install grunt-cli -ddd --build-from-source --cache=/Users/swapnil.kotwal/Library/Caches/Homebrew/npm_cache
==> node_modules/grunt-cli/bin/grunt build
Last 15 lines from /Users/swapnil.kotwal/Library/Logs/Homebrew/grafana/04.grunt:
2018-02-22 16:40:39 +0530


grunt-cli: The grunt command line interface (v1.2.0)

Fatal error: Unable to find local grunt.

If you’re seeing this message, grunt hasn’t been installed locally to
your project. For more information about installing and configuring grunt,
please see the Getting Started guide:

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):

These open issues may also help:
brew install grafana/grafana/grafana fails with error
brew install grafana/grafana fail (different error)
brew install grafana error
homebrew of grafana fails
Web Interface for Grafana not loaded

Does this resolve it?

I had to brew uninstall grafana then brew install grafana --head to get past the grunt error.

1 Like

In my case it works only with:

brew install grafana --HEAD