Got past the issue. Went for: $ devel-su $ prey config hooks post_install Now it's working. Not sure why, but it works ;-)
$ sudo npm -g install prey@1.3.6