diff --git a/README.md b/README.md index 617979e10..913807e3b 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,12 @@ ## Examples (fully generated by GPT-4) ## Installation ```bash -# Step 1: Ensure that Python 3.9+ is installed on your system. You can check this by using: -python --version - -# Step 2: Ensure that NPM is installed on your system. You can check this by using: +# Step 1: Ensure that NPM is installed on your system. Then install mermaid-js. npm --version +sudo npm install -g @mermaid-js/mermaid-cli + +# Step 2: Ensure that Python 3.9+ is installed on your system. You can check this by using: +python --version # Step 3: Clone the repository to your local machine, and install it. git clone https://github.com/geekan/metagpt diff --git a/README_CN.md b/README_CN.md index fd1d56a9c..7f2da7f1d 100644 --- a/README_CN.md +++ b/README_CN.md @@ -20,11 +20,12 @@ ## 示例(均由 GPT-4 生成) ## 安装 ```bash -# 第 1 步:确保您的系统上安装了 Python 3.9+。您可以使用以下命令进行检查: -python --version - -# 第 2 步:确保您的系统上安装了 NPM。您可以使用以下命令进行检查: +# 第 1 步:确保您的系统上安装了 NPM。并使用npm安装mermaid-js npm --version +sudo npm install -g @mermaid-js/mermaid-cli + +# 第 2 步:确保您的系统上安装了 Python 3.9+。您可以使用以下命令进行检查: +python --version # 第 3 步:克隆仓库到您的本地机器,并进行安装。 git clone https://github.com/geekan/metagpt