Catalog
Outline
Documentation
What is Trix?
Trix (/treɪ/) is your helpful coding partner. It offers features like AI Q&A, code auto-completion, and agent-based AI programming capabilities. When developing projects with Trix, you can collaborate with AI to enhance your development efficiency.
Comprehensive IDE functionalities
Trix provides essential IDE functionalities, including code writing, project management, extension management, version control, and more.
Powerful AI assistant
  • AI Q&A
  • While coding, you can chat with the AI assistant at any time to seek help regarding coding, including asking the AI assistant to explain code, write code comments, fix errors, and more. For more information, refer to " Side chat" and "Inline chat".
  • Real-time code suggestions
  • The AI assistant will understand the current code and provide suggested code in real-time within the editor. For more information, refer to "Auto-completion".
  • Code snippet generation
  • By describing your needs in natural language to the AI assistant, it will generate the corresponding code snippets or autonomously write project-level and cross-file code.
  • 0 to 1 project development
  • Tell the AI assistant what kind of program you want to develop, and it will provide the corresponding code or automatically create related files based on your description. For more information, see "Builder".
Set up Trix
This article introduces how to set up Trix, including installing Trix on your PC, completing required settings, and finally developing your projects with Trix.
Step 1: Install and launch Trix
    Go to Trix's website and install Trix on your PC.
    Click Trix's icon to launch it.
    The following screen appears at Trix's first launch.
    Click the Get Started button.
  • Trix's setup begins.
Step 2: Select a theme and language
    Select a theme from Dark, Light, and DeepBlue.
    Select a language from English or 简体中文.
  • Note
    • The default language is English.
    • You can change the theme and language at any desired time in the Settings center if needed.
    Click the Continue button.
Step 3: Import configurations from VS Code or Cursor
If you have already set up VS Code and/or Cursor on your PC, you can click Import from VSCode or Import from Cursor, and the system will import all extensions, settings, and keybindings configuration from these two IDEs into Trix, enabling you to quickly switch from other IDEs to Trix for development.
Step 4: Install Trix's commands
After adding Trix-related commands, you can perform corresponding tasks in Trix more quickly using relevant commands in the terminal. For example:
  • Using Trix to quickly launch Trix;
  • Using Trix my-react-app to open a project in Trix.
Use the following steps to add commands:
    Click the Install 'Trix' command button.
    The following pop-up appears.
    Click OK.
    The following pop-up appears.
    Fill in the password you use for logging in to this Mac and click OK.
    Trix starts to apply the administrator permission for installing shell commands.
Step 5: Log in to Trix
You need to log in to Trix to use the AI assistant. You can log in to Trix with your Google account, your GitHub account, or your email registered with Trix. If you do not have any account, create one for login.
    Click Log in.
    This directs you to the Log in screen.
    Log in to Trix with your preferred method.
    You are directed to the following home of Trix IDE after login.
Step 6: Start developing with Trix
In Trix, you can start developing projects through either of the following ways:
  • Open an existing folder or clone an existing Git repository. For more information, refer to "Manage projects".
  • Create a project from 0 to 1 using the AI assistant. For more information, refer to "Builder".