Terminal Notifier
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
terminal-notifier is a command-line tool to send Mac OS X User Notifications, which are available in Mac OS X 10.8 and higher.
CLI
sudo gem install terminal-notifier echo 'Piped Message Data!' | terminal-notifier -sound default terminal-notifier -title 'Money' -message 'Check your Apple stock' -open 'http://finance.yahoo.com/q?s=AAPL'
With Node.js
Node.js wrapper : https://github.com/mikaelbr/node-notifier
npm install node-notifier node terminal-notifier-example.js
var notifier = require('node-notifier'); notifier.notify({ title: 'My application', message: 'New notification' }, function(error, response) { console.log(response); });