Search code examples
actions-on-googlegoogle-assistant-sdk

Actions on Google - Mac gactions won't run


I am trying to set up the Actions sdk as described here:

https://developers.google.com/actions/sdk

I downloaded gactions for a Mac 64-bit machine. If I try to open the file, it opens as text. When I am in the folder containing gactions, I try to run gactions init and get the response:

-bash: gactions: command not found

Any thoughts?


Solution

  • Try this:

    • Download Google gactions cli from gaction CLI
    • On Mac and Linux, to make the binary executable run from terminal: $ cd folder_with_gactions $ chmod +x gactions
    • Execute gactions $ cd folder_with_gactions $ ./gactions init

    Also, you may find this tutorial interesting if you are trying to create an action in Google Home : How to create a custom private Google Home Action with API.AI and Google App Engine. In STEP 8 you can find an example of gactions.