
var fs = require('fs')
var path = require('path')
var mkdirp = require('mkdirp')

var installPath = path.join(process.env.HOME, '.ipython/kernels/nodejs')
if (process.argv.length >= 3) {
  installPath = process.argv[2]
}

var fullPath = path.resolve(installPath)

mkdirp(fullPath, function() {
  fs.writeFileSync(path.join(fullPath, 'kernel.json'), JSON.stringify({
    argv: ['node', path.join(path.resolve(__dirname), 'build', 'run.js'), '{connection_file}'],
    display_name: 'NodeJS',
    language: 'javascript',
  }, null, 2))
});

@@ -216,16 +216,52 @@
 v%5B2%5D%0A%7D%0A%0A
+console.log('install', installPath)%0A
 var full

fix check