explaingit

clojure-emacs/cider

Analysis updated 2026-05-18

3,657Emacs LispAudience · developerComplexity · 2/5LicenseSetup · moderate

TLDR

An Emacs plugin that turns the editor into a full interactive development environment for the Clojure programming language.

Mindmap

mindmap
  root((CIDER))
    What it does
      Clojure dev environment
      Live REPL connection
    Tech stack
      Emacs Lisp
      Clojure
      nREPL
    Use cases
      Interactive coding
      Debugging
      Jump to definition
    Audience
      Emacs users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Connect Emacs to a running Clojure program and evaluate code interactively.

USE CASE 2

Jump to the source definition of any Clojure function with a single keypress.

USE CASE 3

Step through Clojure code line by line using the built-in debugger.

USE CASE 4

Get inline documentation lookup and code completion while writing Clojure.

What is it built with?

Emacs LispClojurenREPL

How does it compare?

clojure-emacs/cideremacs-evil/evilremacs/remacs
Stars3,6573,7634,607
LanguageEmacs LispEmacs LispEmacs Lisp
Setup difficultymoderateeasyhard
Complexity2/52/55/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Emacs, a Clojure project, and understanding of the package manager to install.

Free software you can use, modify, and share under the terms of the GPL version 3 license.

In plain English

CIDER is a plugin for Emacs, a long-standing text editor popular among programmers, that turns Emacs into a full development environment for the Clojure programming language. Clojure is a language that runs on the Java platform and is often used for data processing, web backends, and other general programming tasks. Without CIDER, Emacs can open and edit Clojure files but has no special understanding of the language. With CIDER installed, it gains a rich set of capabilities for working with Clojure interactively. The central feature is a live connection between the editor and a running Clojure program. CIDER starts or connects to a server component called nREPL, which stands for network REPL. A REPL is an interactive session where a programmer can type code and immediately see the result. With CIDER, this interaction happens from inside Emacs rather than a separate terminal window. Developers can send code from a file directly to the running program, test individual functions, inspect results, and continue working without restarting anything. Beyond the interactive REPL, CIDER provides code completion, documentation lookup, jump-to-definition (which opens the source of any function with a single keypress), a debugger that lets you step through code line by line, test running, and error messages with links back to the relevant source lines. These are the kinds of features that many modern code editors include by default, adapted for Emacs and specifically tuned for how Clojure development tends to work. Installing CIDER is done through Emacs's built-in package manager. Once installed, opening a Clojure project file and running a single command is enough to launch a connected session. The project has comprehensive online documentation and a one-page reference card listing all the keyboard shortcuts. CIDER is free software under the GPL 3 license and is maintained by a small core team. The primary maintainer actively requests financial contributions to support continued development.

Copy-paste prompts

Prompt 1
Show me how to install CIDER in Emacs and connect it to a Clojure project via nREPL.
Prompt 2
Explain how to use CIDER's REPL to evaluate a function from a file and see the result immediately.
Prompt 3
Walk me through using CIDER's debugger to step through a Clojure function.
Prompt 4
Show me the CIDER keyboard shortcuts for jump-to-definition and running tests.

Frequently asked questions

What is cider?

An Emacs plugin that turns the editor into a full interactive development environment for the Clojure programming language.

What language is cider written in?

Mainly Emacs Lisp. The stack also includes Emacs Lisp, Clojure, nREPL.

What license does cider use?

Free software you can use, modify, and share under the terms of the GPL version 3 license.

How hard is cider to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is cider for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.