From 5e158a14af3f8ead43202ff5c3e8e89702cdd913 Mon Sep 17 00:00:00 2001 From: Pengtao Duan Date: Thu, 20 Aug 2026 19:49:01 -0700 Subject: [PATCH] docs: add dsh CLI installation steps --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e2d7570..ef6e23a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,23 @@ ## 安装 -先在 [xquant 开发者中心](https://xquant.shop/developer?utm=dsh) 创建 API Key,然后在终端设置它: +### 1. 安装 dsh + +```bash +npm install --global @deepseek-ai/dsh@0.1.0-rc.7 +dsh --version +``` + +如果提示 `dsh: command not found`,执行下面两行后重开终端: + +```bash +echo 'export PATH="$(npm prefix -g)/bin:$PATH"' >> ~/.zshrc +exec zsh +``` + +### 2. 安装 xquant 插件 + +先在 [xquant 开发者中心](https://xquant.shop/developer?utm=dsh) 创建 API Key,再执行: ```bash export XQUANT_API_KEY='xq_live_...'