Rush Stack商店博客活动
跳过至主要内容

入门

3 分钟演示

想看看 Rush 的实际应用吗?您只需要 NodeJS

从您的 Shell 中,像这样安装 Rush

npm install -g @microsoft/rush

要获得命令行帮助,请执行以下操作

rush -h

要查看 Rush 构建一些真实的项目,请尝试运行以下命令

git clone https://github.com/microsoft/rushstack
cd rushstack

# Install the NPM packages:
# (If you don't have a GitHub email configured, add the "--bypass-policy" option.)
rush update

# Incremental install:
rush update # <-- instantaneous!

# Force all projects to be rebuilt:
rush rebuild

# Incremental build:
rush build # <-- instantaneous!

# Use "--verbose" to view the console logs for each project as it is built.
# Projects build in parallel processes, but their logs are collated.
rush rebuild --verbose

让我们开始吧!

选择您的教程场景...