Skip to content
brentonashworth edited this page Jul 30, 2011 · 12 revisions

Depending on how one plans to work with ClojureScript on Windows, one will either need to make a few modifications to the command-line scripts or manually perform the setup steps included in the bootstrap script.

Cygwin

script\bootstrap should work without changes. Run this script to get all of the ClojureScript dependencies.

The other scripts that are typically used, bin/cljsc, script/repl and script/repljs should work after making one small modification: everywhere a Java classpath is defined, change the colons to semicolons.

For example, in bin/cljsc, change the line:

for next in lib/*: src/clj: src/cljs; do

to

for next in lib/*\; src/clj\; src/cljs; do

Windows Command Prompt

Batch files are included for cljsc, repl and repljs. The script\bootstrap file is more difficult to port to a batch file. For now, the work that bootstrap does will need to be performed manually.

In the ClojureScript directory do the following:

See the Quick Start page for general instructions about getting started with ClojureScript.

Please Contribute

There is not a lot of Windows use on the core team so the quality of Windows support will be community driven. If you work on Windows, use ClojureScript and have signed a CA, then please contribute if you think this could be better.

Clone this wiki locally