23 August 2011

I learned a lot of great stuff at NYCSW last week, one thing being that I would be more effective in my space if I became a fluent - nay, native - writer of JavaScript. Chrome and Firefox have great JavaScript consoles, but I like "jsc" better - it starts directly from command line and comes packaged in OS X.

Ajaxian has a very helpful post about setting up jsc, but unfortunately the paths they use to set up the executable appear to be dated. I've verified that this is the default jsc executable path for both Snow Leopard and Lion:


I added jsc to my path with this command:

$ sudo ln /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc /usr/local/bin/jsc


Peter Kong is a
software engineer.