Installing Typesafe activator on OSX

前端 未结 6 858
我寻月下人不归
我寻月下人不归 2021-01-02 03:06

I am trying to install the typesafe activator (scala, AKKA, play framework, activator)

I have Yosemite OSX

My bash is Oh my ZSH

I already have JDK 1.

相关标签:
6条回答
  • 2021-01-02 03:37

    These days, in 2020, it seems Activator isn't available from Homebrew anymore?

    But old Activator releases remain downloadable, from e.g. https://downloads.typesafe.com/typesafe-activator/1.3.6/typesafe-activator-1.3.6.zip. (I assume other version numbers work as well.)

    0 讨论(0)
  • 2021-01-02 03:38

    Open terminal and follow the below steps,

    mkdir ~/bin
    
    ln -s <path to your play home>/activator ~/bin
    
    echo "export PATH=~/bin:$PATH" >> ~/.bashrc
    
    . ~/.bashrc

    0 讨论(0)
  • 2021-01-02 03:42
    export PATH=$PATH:/Users/XXX/XXX/activator-dist-1.3.12/bin
    
    0 讨论(0)
  • 2021-01-02 03:53

    I made a big mistake, In the ~/.zshrc where I should put

    export PATH=$PATH:/relativePath/to/activator

    I added the executable file to the path. I post this answer in case is helpful for someone else.

    0 讨论(0)
  • For people like me, who are reading this in 2019 (or later) and are unable to find activator recipee in homebrew, be informed that activator has been decommissioned

    Good news is, it's fairly simple to create new projects (including templates for play, akka etc.) with sbt new command and Giter8 templates.

    0 讨论(0)
  • 2021-01-02 03:57

    get HomeBrew. play documentation says this : Play install on mac

    But there have been some changes to that. Now you have to do this.

    Try this:

    brew install typesafe-activator
    

    And then use activator command to start it

    0 讨论(0)
提交回复
热议问题