--- title: 安装 Logto SDK subtitle: 1 step --- ## 方案1: 安装 SDK 依赖包 Run the CLI command under your project's root directory. ``` // installation with npm npm install @logto/react --save // installation with yarn yarn add @logto/react // installation with pnpm pnpm install @logto/react --save ``` ## 方案2: Add script tag to your HTML ``` ``` ## 方案3: Fork your own from github ``` git clone https://github.com/logto-io/js.git ``` ``` pnpm build ```