Tag Archives: howto

Change Cygwin startup directory

Very often you want Cygwin terminal to open up in a specific directory on your computer. Here is a guide how to set the Cygwin startup directory.

How to change Cygwin startup directory

  1. Open Cygwin terminal
  2. Type “pwd”
  3. Note your current startup directory
  4. Open up a text edtior and add the following line: “cd c:/path/to/desired/cygwin/startup/directory/”
  5. Save the file as “.profile” in your current cygwin startup directory
  6. The next time you open Cygwin terminal it will open up in your new startup directory