https://github.com/jeremyheiler/clj
A shell script for executing Clojure code and running a Clojure REPL.
https://github.com/jeremyheiler/clj
clojure clojure-repl shell
Last synced: 2 months ago
JSON representation
A shell script for executing Clojure code and running a Clojure REPL.
- Host: GitHub
- URL: https://github.com/jeremyheiler/clj
- Owner: jeremyheiler
- Created: 2015-01-22T21:40:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-10-08T05:56:53.000Z (over 9 years ago)
- Last Synced: 2025-10-31T07:54:25.375Z (8 months ago)
- Topics: clojure, clojure-repl, shell
- Language: Shell
- Size: 2.93 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clj
A set of shell scripts that give you quick access to a full Clojure environment.
## clj
The `clj` command executes Clojure's main method `clojure.main` and passes along any arg
uments you provide. Type `clj -h` to see how it can be used.
## clj-repl
The `clj-repl` command launches a Clojure REPL with `rlwrap`. It is equivalent to `rlwrap clj`. It currently does not accept any arguments.
## clj-env
The `clj-env` command is used by the other two commands, but can also be used independently. It's meant to make it easy to download Clojure jars and map them into a directory for other programs to access.
`install 1.8.0` - Installs the specified version of Clojure.
`set 1.8.0` - Sets the specified version of Clojure to be the default.
`path` - Prints the path to the default version of Clojure.
`path 1.8.0` - Prints the path to the specified version of Clojure.