npm
に、bundle exec
のようなコマンドはないようなので、
以下のようにnpm-exec
というaliasを設定した。
.zshrc
alias npm-exec='PATH=node_modules/.bin:$PATH'
コマンドの実行は、例えば以下のように行う。
$ npm install hubot coffee-script
$ npm-exec hubot --create myhubot
Go to list of users who liked
More than 5 years have passed since last update.
npm
に、bundle exec
のようなコマンドはないようなので、
以下のようにnpm-exec
というaliasを設定した。
alias npm-exec='PATH=node_modules/.bin:$PATH'
コマンドの実行は、例えば以下のように行う。
$ npm install hubot coffee-script
$ npm-exec hubot --create myhubot
Register as a new user and use Qiita more conveniently
Go to list of users who liked