How to install
If you don't know which style or version to use. please visit FAQ
Install via Agent Skill (Recommended)
After installing this skill, you can use natural language prompts to let AI coding assistants handle the installation for you. Popular AI coding assistants that support Agent Skills include: CodeBuddy, Claude Code, Cursor, Windsurf, Cline, GitHub Copilot, etc.
Skill path: puerts/unity/skills/install-puerts-for-unity
Example prompts:
Install puerts v8 package— installs core + v8Install puerts v8 package, version v3.0.1— installs core + v8 with a specific versionInstall puerts mcp package— installs core + v8 + nodejs + mcp (auto dependency resolution)Install puerts agent package— installs core + v8 + agent (auto dependency resolution)Install puerts Editor Assistant— installs both agent and mcp packages with all dependenciesInstall puerts Editor Assistant mcp version— installs only the mcp package with its dependenciesInstall puerts lua package— installs core + luaInstall puerts quickjs package— installs core + quickjs
The AI coding assistant will automatically handle version selection, dependency resolution, and installation steps.
Download and Install Manually | available in all versions
More involved than Agent Skill, but friendly for modifying PuerTS yourself.
- Go to Github Releases to download the packages you need (e.g. PuerTS_V8_x.x.x.tgz).
- Extract the archive to any local directory (you will get a UPM package folder, e.g.
v8, containing apackage.json).
Unity versions with UPM support (Unity 2018.3+)
Import via the Unity Editor's UPM disk installation:
- Open the Unity Editor, go to Window → Package Manager.
- Click the + button in the top-left corner and select Add package from disk....
- In the file browser, navigate to the extracted package folder, select the
package.jsonfile inside it, and click Open. - Unity will automatically recognize and import the UPM package.
- If you need to install multiple packages (e.g. core + v8), repeat the above steps for each package.
Unity versions without UPM support (below Unity 2018.3)
Copy the extracted folder directly into your project's Assets directory.
You also need to append
.txtto the built-in js files in the PuerTS code.
If you encounter the "move to trash" issue on macOS, run
sudo xattr -r -d com.apple.quarantine puerts.bundle. Note this may cause git issues.