Forrest logo
back to context overview

clj

List of commands for clj:

  • clj:tldr:2198b clj: Start a REPL (interactive shell).
    $ clj
    try on your machine
    explain this command
  • clj:tldr:4907b clj: Run the main function of a specified namespace.
    $ clj -M -m ${namespace} ${args}
    try on your machine
    explain this command
  • clj:tldr:5915f clj: Start an nREPL server with the CIDER middleware.
    $ clj -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} cider/cider-nrepl {:mvn/version "0.25.2"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]' --interactive
    try on your machine
    explain this command
  • clj:tldr:5afe1 clj: Execute a function.
    $ clj -X ${namespace-function_name}
    try on your machine
    explain this command
  • clj:tldr:a1b44 clj: Prepare a project by resolving dependencies, downloading libraries, and making / caching classpaths.
    $ clj -P
    try on your machine
    explain this command
  • clj:tldr:e6b2a clj: Start a REPL for ClojureScript and open a web browser.
    $ clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.758"}}}' --main cljs.main --repl
    try on your machine
    explain this command
back to context overview