Skip to content

配置文件命令

本文档的完整中文翻译正在进行中。

概述

配置文件管理命令。

快速开始

bash
hermes help
hermes config
hermes skills

相关链接

获取帮助

如需帮助,请运行 hermes doctor 或访问 GitHub Issues


原文档内容:

Profile Commands Reference

This page covers all commands related to Hermes profiles. For general CLI commands, see CLI Commands Reference.

hermes profile

bash
hermes profile <subcommand>

Top-level command for managing profiles. Running hermes profile without a subcommand shows help.

SubcommandDescription
listList all profiles.
useSet the active (default) profile.
createCreate a new profile.
deleteDelete a profile.
showShow details about a profile.
aliasRegenerate the shell alias for a profile.
renameRename a profile.
exportExport a profile to a tar.gz archive.
importImport a profile from a tar.gz archive.

hermes profile list

bash
hermes profile list

Lists all profiles. The currently active profile is marked with *.

Example:

bash
$ hermes profile list
  default
* work
  dev
  personal

No options.

hermes profile use

bash
hermes profile use <name>

Sets <name> as the active profile. All subsequent hermes commands (without -p) will use this profile.

ArgumentDescription
<name>Profile name to activate. Use default to return to the base profile.

Example:

bash
hermes profile use work
hermes profile use default

hermes profile create

bash
hermes profile create <name> [options]

Creates a new profile.

Argument / OptionDescription
<name>Name for the new profile. Must be a valid directory name (alphanumeric, hyphens, underscores).
--cloneCopy config.yaml, .env, and SOUL.md from the current profile.
--clone-allCopy everything (config, memories, skills, sessions, state) from the current profile.
--clone-from <profile>Clone from a specific profile instead of the current one. Used with `--clo...

[完整翻译即将推出]