KBEC-00319 - How to set Cygwin as the default shell on Windows

Article ID:360032827512
1 minute readKnowledge base


I want to set cygwin as my default shell for all Steps that run on my Windows Agents.


First, ensure that the cygwin bin directory is in the path for the agent.

Set the Windows environment variable CYGWIN to have value "nodosfilewarning" for agent. Then restart the agent.

Now edit the resource on the Cloud page, and set the default shell to:

sh -e "{0}.cmd"

That will set the resource to have Cygwin as its default shell.