Windows computers run commands in Git Bash
When a session runs on your Windows computer, the agent's commands now run in Git Bash instead of Command Prompt. The same commands the agent uses on a Mac or in the cloud work on Windows too, including multi-line commands.
How to use it
- Install Git for Windows on the computer if it isn't there yet. Git Bash comes with it.
- Start a session on that computer as usual. Nothing else to set up.
- To use Command Prompt instead, open the computer's page under Compute and pick Command Prompt in the Shell card.
Good to know
- If Git Bash is picked but not installed, that computer can't start a session until Git is installed. Use Install Git, then Check again.
- Sessions that are already running switch to the new shell from their next command.
- With Git Bash, worktree setup and cleanup use the macOS/Linux commands from your project settings. This needs M-Connect 0.5.2 or later; older versions keep using the Windows commands.
- Windows programs such as npm, python and git work from Git Bash as before.
- Attaching images and files to a message in a session on a Windows computer works again.