How to Setup Locally
To set up the Sui Agent Kit on your local machine, you’ll need to clone the repository, install the required dependencies, configure environment variables, and build the project. Follow the steps below to begin.Prerequisites
- Node: Ensure you have Node version 23.x or higher installed. You can download it from Node Official Website.
- Package Manager: Node’s package manager comes bundled with Node. Verify installation by running
npm -v. - Git: Ensure Git is installed and configured. Download from Git Official Website.
Step-by-Step
- Clone the Repository
- Navigate to the Project Directory
- Install Dependencies
- Configure Environment Variables
Create a
.envfile in the project’s root directory to securely store your environment variables. Ensure the file includes the following variables:
.env file is added to .gitignore to prevent exposing sensitive information.
5. Build the Project
dist/ directory.
6. Generate Documentation (Optional)

