← 返回命令列表

Linux command

doom 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Install Doom Emacs

doom install

Sync packages

doom sync

Update packages

doom upgrade

Check for issues

doom doctor

Rebuild packages

doom build

Purge unused

doom purge

说明

doom is the command-line interface for Doom Emacs, a configuration framework for Emacs. It manages the installation, updates, and maintenance of the Doom Emacs distribution. The sync command is central to Doom workflows, ensuring installed packages match the configuration after changes to init.el or packages.el. It handles package installation, removal, and byte-compilation. doom doctor helps troubleshoot issues by checking for common problems like missing dependencies, outdated packages, or configuration errors.

参数

install
Initial Doom Emacs setup.
sync
Synchronize packages with config.
upgrade
Update packages to latest.
doctor
Diagnose common issues.
build
Rebuild installed packages.
purge
Remove orphaned packages.
--help
Display help information.

FAQ

What is the doom command used for?

doom is the command-line interface for Doom Emacs, a configuration framework for Emacs. It manages the installation, updates, and maintenance of the Doom Emacs distribution. The sync command is central to Doom workflows, ensuring installed packages match the configuration after changes to init.el or packages.el. It handles package installation, removal, and byte-compilation. doom doctor helps troubleshoot issues by checking for common problems like missing dependencies, outdated packages, or configuration errors.

How do I run a basic doom example?

Run `doom install` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does install do in doom?

Initial Doom Emacs setup.