app/local-environments.md +1 −11
1# Local environments1# Local environments
2 2
3Configure common actions and setup scripts for worktrees
4
5Local environments let you configure setup steps for worktrees as well as common actions for a project.3Local environments let you configure setup steps for worktrees as well as common actions for a project.
6 4
7You configure your local environments through the [Codex app settings](codex://settings) pane. You can check the generated file into your project's Git repository to share with others.5You configure your local environments through the [Codex app settings](codex://settings) pane. You can check the generated file into your project's Git repository to share with others.
31 29
32Actions are helpful to keep you from typing common actions like triggering a build for your project or starting a development server. For one-off quick debugging you can use the integrated terminal directly.30Actions are helpful to keep you from typing common actions like triggering a build for your project or starting a development server. For one-off quick debugging you can use the integrated terminal directly.
33 31
3432 
35
36 
37 33
38For example, for a Node.js project you might create a "Run" action that contains the following script:34For example, for a Node.js project you might create a "Run" action that contains the following script:
39 35
44If the commands for your action are platform-specific, define platform-specific scripts for macOS, Windows, and Linux.40If the commands for your action are platform-specific, define platform-specific scripts for macOS, Windows, and Linux.
45 41
46To identify your actions, choose an icon associated with each action.42To identify your actions, choose an icon associated with each action.
47
48[Previous
49
50Worktrees](https://developers.openai.com/codex/app/worktrees)[Next
51
52Commands](https://developers.openai.com/codex/app/commands)