Getting Started
Download GodotJS
Choose your platform and preferences to download the latest GodotJS release:
Note: The
Godot.appisn't signed for MacOS you need to allow to open it.
Manual Installation
If you prefer to browse all releases manually, visit the GitHub Releases page.
Installation Instructions
After downloading:
- Extract the downloaded zip file
- Rename the executable based on your OS:
- Linux:
godot.linuxbsd.editor.x86_64→godot - macOS: No rename required
- Windows:
godot.windows.editor.x86_64.exe→godot.exe
- Linux:
- Add Godot to your PATH
- Test the installation by running
godot --versionin your terminal
JS Engine Comparison
| Engine | Performance | Memory Usage | Platform Support | Recommended For |
|---|---|---|---|---|
| V8 | High | Higher | Desktop | Development & Production |
| QuickJS | Medium | Lower | All platforms | Mobile & Embedded |
| JavaScriptCore | High | Medium | macOS/iOS | Apple platforms |
| Browser | High | Lower | Web | Web |
Target Types
- Editor: Full Godot editor with GodotJS support
- Template: Export templates for building your games
- Debug: Debug versions with additional logging and debugging features
Create a new project
Automatically with godot-ts
- Run
npx -y @godot-js/godot-ts init(new project will be crated at your current terminal path) - Follow the prompts
- Run
cd <your-project> - Run
npm i - Run
npm run dev- this will enable typescript watch mode and opens the editor - Inside the editor install preset files via
Project > Tools > GodotJS > Install Preset files - Click
OKto confirm a list of files will be generated in the project. - Attach the
example.tsscript to a node and run the project
Manually
- Run
godot -pand create a new project - Inside the editor install preset files via
Project > Tools > GodotJS > Install Preset files - Click
OKto confirm a list of files will be generated in the project. - Run
cd <your-project> - Run
npm i - Run
npx tscto compile the typescript files
Install Preset Files


Create Scripts
To create new scripts, press select GodotJSScript as language:

Use the Node: Node.Ts template:

Open the project folder in you IDE, you should see full TypeScript support!

Compile TypeScript Sources without godot-ts
Before your scripts runnable in Godot, run tsc to compile typescript sources into javascript.
Also, you can simply click the tool button on GodotJS bottom panel in the godot editor. It'll do the same thing for you.
