CoderDojo-Content / sushi-tool

CoderDojo Sushi Cards tool.
MIT License
3 stars 2 forks source link

Doc: alternative installation method #3

Open sandrobonazzola opened 8 years ago

sandrobonazzola commented 8 years ago

Instead of using global installation you can use local installation:

$ npm install -l sushi-tool
# edit node_modules/.bin/chopsticks first line, change it to:"#!/usr/bin/node --harmony"
$ function npm-do { (PATH=$(npm bin):$PATH; eval $@;) }
$ npm-do chopsticks init

you can add the npm-do function to your .bashrc. Verified on Fedora 24.