Files
atom/docs/build-instructions/windows.md
Rob Thijssen 07577ff944 Added a hint about the required Python path.
In order to alert users that the Atom build scripts expect to find Python in the default installation folder.
2014-06-20 15:19:55 +01:00

3.0 KiB

Windows

Requirements

On Windows 7

On Windows 8

Instructions

# Use the `Git Shell` app which was installed by GitHub for Windows. Also Make
# sure you have logged into the GitHub for Windows GUI App.
cd C:\
git clone https://github.com/atom/atom/
cd atom
script/build # Creates application in the `Program Files` directory

Why do I have to use GitHub for Windows?

You don't, You can use your existing Git! GitHub for Windows's Git Shell is just easier to set up. You need to have Posix tools in your %PATH% (i.e. grep, sed, et al.), which isn't the default configuration when you install Git. To fix this, you probably need to fiddle with your system PATH.

Troubleshooting

Common Errors

  • node is not recognized

    • If you just installed node you need to restart your computer before node is available on your Path.
  • script/build outputs only the Node and Python versions before returning

    • Try moving the repository to C:\atom. Most likely, the path is too long. See issue #2200.
  • error MSB4025: The project file could not be loaded. Invalid character in the given encoding.

Windows build error reports in atom/atom

  • Use this search to get a list of reports about build errors on Windows.