Trae AI is a robust integrated development environment (IDE) designed for efficiency and scalability. This guide will help users set up and maintain the correct file structure, with optional steps to integrate the application fully into their system through file associations and context menus.
Please download the file from the provided link, which contains all the necessary components to run Trae AI on an ARM64 architecture. To ensure proper functionality, maintain the following directory structure when setting up the project:
Trae/
├── Trae Direct.lnk # Shortcut to launch the application
├── install_script.iss # Installer script (optional for advanced users)
├── CodeSection.txt # Code-related references (optional)
├── RegistrySection.reg # Registry configuration for enhanced integration (optional)
├── SetupIcon.ico # Application icon
├── {app}/ # Core application directory
│ ├── Trae.exe # Main executable
│ ├── tools/ # Supporting tools and libraries
│ │ ├── inno_updater.exe
│ │ ├── set-env.ps1
│ │ └── vcruntime140.dll
│ ├── resources/ # Resources for the app
│ │ ├── app/ # Core extensions and dependencies
│ │ ├── locales/ # Localization files
│ │ │ ├── en-US.pak
│ │ │ ├── ja.pak
│ │ │ ├── zh-CN.pak
│ │ │ └── other locale files...
│ │ ├── chrome_100_percent.pak
│ │ ├── chrome_200_percent.pak
│ │ ├── ffmpeg.dll # Multimedia library
│ │ ├── d3dcompiler_47.dll # Shader compiler
│ │ ├── LICENSES.chromium.html
│ │ ├── snapshot_blob.bin
│ │ ├── v8_context_snapshot.bin
│ │ ├── vk_swiftshader_icd.json
│ │ └── other runtime files...
├── {code_GetDestDir}/ # Additional runtime files and configurations
│ ├── bin/
│ │ ├── trae
│ │ └── trae.cmd
│ ├── locales/ # Localization files
│ │ ├── af.pak
│ │ ├── de.pak
│ │ └── others...
│ ├── resources/ # Resource files
│ │ ├── app-update.yml
│ │ ├── app/
│ │ │ ├── node_modules.asar
│ │ │ ├── package.json
│ │ │ └── product.json
│ │ └── extensions/
│ │ ├── ai/
│ │ └── other extensions...
├── embedded/ # Setup wizard resources
│ ├── CompiledCode.bin
│ ├── WizardImage0.bmp
│ └── Localized installation resources...
- Copy the directory structure provided above and ensure all files are placed in their respective locations.
- Option 1: Double-click the shortcut
Trae Direct.lnkto start the application. - Option 2: Navigate to
{app}/Trae.exeand execute it manually.
To improve the Trae AI experience, you can integrate it with your system using the provided .reg file.
- Press
Win + R, typeregedit, and press Enter to open the Registry Editor. - In the Registry Editor, click File → Export.
- Choose a location and name for the backup file (e.g.,
registry_backup.reg). - Under Export range, select All, then click Save.
- Navigate to the location of
RegistrySection.reg. - Double-click the
.regfile. - Confirm the changes when prompted.
- Restart your computer for the changes to take effect.
Registering the .reg file integrates Trae AI into the system and provides several benefits:
- File Associations: Open supported file types (
.yaml,.json,.html, etc.) directly in Trae AI with a double-click. - Context Menu Integration: Add an "Open with Trae" option to right-click menus for files, folders, and drives.
- Custom Icons: Use Trae-specific icons for associated file types for easier identification.
- Optimized Workflow: Streamlines the editing process by reducing manual actions.
To undo these changes:
- Restore your registry backup by double-clicking the saved
.regfile. - Alternatively, navigate to the affected registry entries using the paths specified in
RegistrySection.regand delete them manually in the Registry Editor.
- Maintain the directory structure exactly as described above to ensure the application functions correctly.
- If you encounter issues, confirm that all files and dependencies are in their appropriate locations.