zprint
Executables, uberjar, and library to beautifully format Clojure and Clojurescript source code and s-expressions.
By kkinnear. Free and open source for macOS. Latest version 1.3.0, released 2025-05-14.
Is zprint safe?
Trust score 40/100: Low trust. Little evidence that this is safe or maintained. Only install it if you know the project, ideally in a sandbox or virtual machine.
- Around since 2016
- Listed in Homebrew, which reviews submissions
Things to watch:
- No code changes in over a year
- The latest release is more than 18 months old
- No OpenSSF Scorecard report yet, so security practices are unverified
- macOS Gatekeeper rejects this app (not notarized by Apple); you'll need to approve it manually
626 GitHub stars · 252k downloads · 19 contributors.
Download zprint
brew install --cask zprint
Downloads come straight from github.com/kkinnear/zprint.
About zprint
zprint is a library and command line tool providing a variety of pretty printing capabilities for both Clojure code and Clojure/EDN structures. It can meet almost anyone's needs. As such, it supports a number of major source code formatting approaches.
• Latest pre-compiled binaries for macOS and Linux are here on GitHub • Run the same code in babashka • Library to use in the REPL or embed in your project:
• There have been several requests for differing treatment of "trailing right" characters. Those are characters that terminate a collection: )]}, which also fall on their own line, either because of :respect-nl or because of a comment. Some have requested that these characters be indented to the indent of the structure involved. Others have requested that (unless required by a comment) they be brought up to the previous line so that they are not "trailing right" characters anymore. Both capabilties are now supported, the first by :indent-trailing-right? and the second by :collapse-trailing-rig
specify an element where you would prefer the next element be on the same line. It has been completely re-implemented and now works well in many more situations. • Formatting for tagged-literals was completely reimplemented. • The zprint executables now have the ability to locate and process multiple files directly. See the reference manual and look up the {:files {:glob " "}} key-value pair for the options map. • The style :sort-require will sort the requires in an ns macro, as suggested by how-to-ns. This will interoperate with :ns-justify well, but be sure and put the :sort-require to the l
Similar apps
- scrcpy (v5.0.1): Display and control your Android device (High trust, 81/100)
- Tauri: Build smaller, faster, and more secure desktop and mobile applications with a web frontend. (High trust, 75/100)
- Neovim: Vim-fork focused on extensibility and usability (Good, 71/100)
- Ghidra: Ghidra is a software reverse engineering (SRE) framework (Good, 66/100)
- Zed: Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. (Good, 73/100)
- Bitcoin: Bitcoin Core integration/staging tree (Good, 66/100)
Questions
Is zprint safe to download?
zprint has an OpenShelf trust score of 40/100 (Low trust). Little evidence that this is safe or maintained. Only install it if you know the project, ideally in a sandbox or virtual machine. Main thing to watch: No code changes in over a year.
Is zprint free?
Yes. zprint is free and open source under the MIT license. The source code is public at github.com/kkinnear/zprint.
Does zprint work on macOS?
zprint is available for macOS.
How do I install zprint?
Use a package manager. Or install it with: brew install --cask zprint.
What are alternatives to zprint?
Similar open-source apps: scrcpy (v5.0.1) (trust 81/100), Tauri (trust 75/100), Neovim (trust 71/100), Ghidra (trust 66/100).