run `nvm use` automatically every time there's a .nvmrc file on the directory

前端 未结 10 1827
南笙
南笙 2020-12-23 11:05

How to configure my shell so that nvm use run automatically every time there\'s a .nvmrc file on the directory and use the latest version or a global config whe

10条回答
  •  清酒与你
    2020-12-23 11:33

    I just found out about Automatic Version Switching for Node.js https://github.com/wbyoung/avn, you can use that.

    You can also follow this thread https://github.com/creationix/nvm/issues/110

提交回复
热议问题