-
Notifications
You must be signed in to change notification settings - Fork 11
scottxu edited this page Jan 12, 2019
·
3 revisions
你可以直接点击这里下载最新发行版本,也可以用以下命令安装NPM包。
> npm install openbse
如果你需要重新构建 BulletScreenEngine ,请执行以下命令。
> cd node_modules/openbse
> npm install
> npm run build
在构建之前,请确保已经全局安装Gulp,全局安装Gulp的命令如下。
> npm install --global gulp
Mac:
方法一:Homebrew
完成 homebrew 的安装后
> brew install node
方法二:Git
> git clone git://github.com/nodejs/node.git > cd node > ./configure > make > sudo make installLinux:
通过PPA安装
虽然 Chris Lea 的 PPA 曾经是安装 NodeJS 的最佳方法,但现在已经有些过时了。
安装 NodeJS 的推荐路径是使用 Joyent 的包管理器 向导。Ubuntu
> curl --silent --location https://deb.nodesource.com/setup_6.x | sudo bash - > sudo apt-get install --yes nodejsDebian
> apt-get install curl > curl --silent --location https://deb.nodesource.com/setup_6.x | bash - > apt-get install --yes nodejsRed Hat
> curl --silent --location https://rpm.nodesource.com/setup | bash - > yum -y install nodejsWindows:
通过安装程序安装
下载 NodeJs 安装程序。
© 2018-2019 Scott Xu. All right reserved. | This project is an open source project and it is licensed under the MIT License.