Installing CasperJS on Windows: How to do it correctly?

前端 未结 8 1356
天命终不由人
天命终不由人 2020-12-28 13:52

I know there is a documentation from CasperJS website about how to install CasperJS on Windows, but bear with me these guys only explained for the pros only.

If you

8条回答
  •  余生分开走
    2020-12-28 14:34

    Fast forward to 2015... 5-steps win7 howto:

    1. choco: PS me> iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
    2. git: choco install git -y
    3. phantomjs 2.0: choco install phantomjs -y
    4. casperjs source: git clone https://github.com/n1k0/casperjs -b phantomjs-2
    5. Add the location of casperjs/bin to PATH

    Done. You can now casperjs --version and live happily ever after.

提交回复
热议问题