This commit is contained in:
@ -63,6 +63,7 @@ RUN echo "安装基础工具与配置文件" && \
|
|||||||
brew update && \
|
brew update && \
|
||||||
# 安装 n node 管理器
|
# 安装 n node 管理器
|
||||||
brew install n && \
|
brew install n && \
|
||||||
|
export N_NODE_MIRROR=https://registry.npmmirror.com/node && \
|
||||||
n 18.15.0 && \
|
n 18.15.0 && \
|
||||||
# 安装 nrm
|
# 安装 nrm
|
||||||
npm install -g nrm --registry=http://registry.npmmirror.com && \
|
npm install -g nrm --registry=http://registry.npmmirror.com && \
|
||||||
|
Reference in New Issue
Block a user