1 Star 0 Fork 40

phoenixsxp/Node_Zookeeper_Admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nodevars.bat 673 Bytes
一键复制 编辑 原始数据 按行查看 历史
nofeng囝 提交于 2014-03-27 21:28 . 初始化项目
@echo off
rem Ensure this Node.js and npm are first in the PATH
set PATH=%APPDATA%\npm;%~dp0;%PATH%
setlocal enabledelayedexpansion
pushd "%~dp0"
rem Figure out the node version.
set print_version=.\node.exe -p -e "process.versions.node + ' (' + process.arch + ')'"
for /F "usebackq delims=" %%v in (`%print_version%`) do set version=%%v
rem Print message.
if exist npm.cmd (
echo Your environment has been set up for using Node.js !version! and npm.
) else (
echo Your environment has been set up for using Node.js !version!.
)
popd
endlocal
rem If we're in the node.js directory, change to the user's home dir.
if "%CD%\"=="%~dp0" cd /d "%HOMEDRIVE%%HOMEPATH%"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/phoenixsxp/Node_Zookeeper_Admin.git
[email protected]:phoenixsxp/Node_Zookeeper_Admin.git
phoenixsxp
Node_Zookeeper_Admin
Node_Zookeeper_Admin
master

搜索帮助