Skip to content

How to Set Up Trae

This article introduces how to set up Trae, including installing Trae on your PC, completing required settings, and developing your projects with Trae.


Step 1: Install and Launch Trae

  1. Visit Trae's official website and download Trae to your PC.

  2. Click the Trae icon to launch the application.

  3. Upon first launch, the following screen will appear:

    Preview of the initial setup screen

  4. Click the Get Started button to begin the setup process.


Step 2: Select a Theme and Language

  1. Choose a theme from Dark, Light, or DeepBlue.

  2. Select a language from English or 简体中文 (default language is English).

    You can change the theme and language anytime in the Settings Center.

  3. Click the Continue button to proceed.


Step 3: Import Configurations from VS Code or Cursor

  1. If you have previously set up VS Code and/or Cursor on your PC, you can select Import from VSCode or Import from Cursor.

  2. This will import extensions, settings, and keybindings from these IDEs into Trae, allowing you to quickly transition to Trae.

    Preview of the import screen

  3. Once imported, your configurations will be ready to use in Trae.


Step 4: Install Trae Commands

Installing Trae's shell commands allows you to execute tasks faster via the terminal. For example:

  • Use trae to quickly launch Trae.
  • Use trae my-react-app to open a project in Trae.

Steps to add commands:

  1. Click the Install 'trae' command button.
  2. A pop-up window will appear. Click OK.
  3. Enter your Mac login password when prompted and click OK again.
  4. Trae will request administrator permission to install shell commands.

Step 5: Log In to Trae

  1. You need to log in to access Trae's AI assistant features.

  2. You can log in using:

    • Your Google account
    • Your GitHub account
    • Your email registered with Trae
  3. If you don’t have an account, create one to proceed.

  4. Click Log in to open the login screen.

    Preview of the login screen

  5. Once logged in, you’ll be directed to the Trae IDE home interface.


Step 6: Start Developing with Trae

You can start developing your projects in Trae in the following ways:

  1. Open an existing project:

    • Open an existing folder on your PC.
    • Clone a Git repository (refer to "Manage projects" for details).
  2. Create a new project:

    • Use Trae's AI assistant to create a project from scratch (refer to "Builder" for more details).

Start developing efficiently with Trae today!