如何通过npm安装测试版

时间:2021-11-27 07:26:46

My question is in the title, I need to install a beta version 3.0.0 of react-docgen.

我的问题是在标题中,我需要安装一个beta版3.0.0的react-docgen。

Is it possible to install a beta version via npm ?

是否可以通过npm安装测试版?

Thank you

谢谢

1 个解决方案

#1


3  

Yes, it's possible to install a beta version using the @ symbol. For example to install react-docgen (v3.0.0-beta7) run the following command:

是的,可以使用@符号安装测试版。例如,要安装react-docgen(v3.0.0-beta7),请运行以下命令:

npm install -g react-docgen@3.0.0-beta7

npm install -g react-docgen@3.0.0-beta7

Further information about installing specific versions can be found in the npm-install documentation.

有关安装特定版本的更多信息,请参阅npm-install文档。

#1


3  

Yes, it's possible to install a beta version using the @ symbol. For example to install react-docgen (v3.0.0-beta7) run the following command:

是的,可以使用@符号安装测试版。例如,要安装react-docgen(v3.0.0-beta7),请运行以下命令:

npm install -g react-docgen@3.0.0-beta7

npm install -g react-docgen@3.0.0-beta7

Further information about installing specific versions can be found in the npm-install documentation.

有关安装特定版本的更多信息,请参阅npm-install文档。