Can I install just Gulp globally?

后端 未结 1 641
Happy的楠姐
Happy的楠姐 2021-02-12 16:09

I\'m constantly working on new web development projects that don\'t ever, in practice, need their node_modules folder when deploying. It would suit me much more if

1条回答
  •  忘了有多久
    2021-02-12 16:44

    Gulp needs to be installed locally, but you can link the local install to a global install:

    npm install --global gulp
    npm link gulp
    

    See also https://stackoverflow.com/a/30742196/451480

    0 讨论(0)
提交回复
热议问题