I downloaded "phantomjs-1.7.0-windows.zip" for Windows from here .
I even set the path to the extracted folder in the environment variables. But I get a "parsing error" when I try to enter any command, for example phantomjs --version on the phantomjs.exe command line. (My Windows is 64 bit.)
phantomjs --version
phantomjs.exe
Why is this throwing an error?
Type phantomjs --version at the Windows command prompt.
If you run PhantomJS by running phantomjs.exe , you are now in PhantomJS Interactive Mode (REPL). At this prompt, you must enter the JavaScript code.