From 66bcd860d952abd295c2392572afa38f5e09f0ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C4=83t=C4=83lin=20Mari=C8=99?= Date: Fri, 20 Feb 2015 18:53:49 +0200 Subject: Install io.js & add aliases to switch to io/node * Install `io.js`. https://iojs.org/en/index.html * Add aliases to easily switch between `io.js` and `Node.js`. https://gist.github.com/phelma/ce4eeeedb8fb9a9e8e63 --- .aliases | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.aliases') diff --git a/.aliases b/.aliases index daca01b..402535e 100644 --- a/.aliases +++ b/.aliases @@ -139,3 +139,7 @@ alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resource # Reload the shell (i.e. invoke as a login shell) alias reload="exec $SHELL -l" + +# Easily switch between `io.js` and `Node.js` +alias use-iojs="brew unlink node && brew link --force iojs" +alias use-node="brew unlink iojs && brew link --force node" -- cgit v1.2.3