Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

How do I install ZeroGraph and verify the environment configuration?

2025-08-21 262

安装 ZeroGraph 需要以下步骤:

  1. environmental preparation::
    • 安装 Node.js(推荐版本 16+)和 npm/yarn,可通过命令 node -v cap (a poem) npm -v Verify the installation.
    • (可选)全局安装 TypeScript:npm install -g typescript,以支持类型检查。
  2. Install ZeroGraph::
    • 使用 npm:npm install @u0z/zero-graphThe
    • or use yarn:yarn add @u0z/zero-graphThe
  3. Verify Installation::
    • 创建一个 TypeScript 文件(如 test.ts),导入模块并输出信息:
      import { Node, Flow } from '@u0z/zero-graph';
      console.log("ZeroGraph installed successfully!");
    • Compile and run:tsc test.ts cap (a poem) node test.js,若显示成功信息则配置正确。

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish