I have installed the play framework using typesafe-activator. However, this does not appear on in PATH. Therefore, I can not use Play from the command line:

Octavians-MBP:exericsePS octavian$ play new app
-bash: play: command not found

If I try to install play using brew I get:

Octavians-MBP:exericsePS brew install play
Error: No available formula for play
Play 2.3 replaces the play command with activator:
  brew install typesafe-activator

You can read more about this change at:

However, I can not install it with typesafe-activator either:

Octavians-MBP:exericsePS octavian$ brew install typesafe-activator
Warning: typesafe-activator-1.3.5 already installed
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
Octavians-MBP:exericsePS octavian$ play help
-bash: play: command not found

So how can I install Play such that it's visible from the command line?


Just add path to the play installation to your .bash_profile file in the user root directory.

For example I have

export PATH="/usr/local/mysql/bin:/Users/currentuser/PlayProjects/activator:$PATH"

This discussion could help you as well:


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .