zed
Zed has a CLI, on Linux this should come with the distribution's Zed package (binary name can vary from distribution to distribution, zed will be used later for brevity). For macOS, the CLI comes in the same package with the editor binary, and could be installed into the system with the cli: install Zed command which will create a symlink to the /usr/local/bin/zed. It can also be built from source out of the CLI crate in this repository.[1]
Documentation
- CLI [EN| @ Zed Documentation
Syntax
zed [PARAMETER ...] [FILE|DIRECTORY ...]
zed [PARAMETER ...] -
Parameters
- -a, --add
- Add files to the currently open workspace.
- -n, --new
- Create a new workspace.
- -w, --wait
- Wait for all of the given paths to be opened/closed before exiting.
References
- ↑ Project contributors. "Getting Started." Zed project. https://zed.dev/docs/getting-started (accessed 26.08.2025)