Subcommands101 subcommands
chezmoi manage
Add an existing file, directory, or symlink to the source state
chezmoi apply
Update the destination directory to match the target state
chezmoi archive
Generate a tar archive of the target state
chezmoi cat
Print the target contents of a file, script, or symlink
chezmoi cd
Launch a shell in the source directory
chezmoi chattr
Change the attributes of a target in the source state
chezmoi completion
Generate shell completion code
chezmoi data
Print the template data
chezmoi decrypt
Decrypt file or standard input
chezmoi diff
Print the diff between the target state and the destination state
chezmoi doctor
Check your system for potential problems
chezmoi dump
Generate a dump of the target state
chezmoi edit
Edit the source state of a target
chezmoi edit-config
Edit the configuration file
chezmoi encrypt
Encrypt file or standard input
chezmoi execute-template
Execute the given template(s)
chezmoi unmanage
Remove a target from the source state
chezmoi generate
Generate a file for use with chezmoi
chezmoi git
Run git in the source directory
chezmoi ignored
Print ignored targets
chezmoi import
Import an archive into the source state
chezmoi init
Setup the source directory and update the destination directory to match the target state
chezmoi license
Print license
chezmoi list
List the managed entries in the destination directory
chezmoi merge
Perform a three-way merge between the destination state, the source state, and the target state
chezmoi merge-all
Perform a three-way merge for each modified file
chezmoi purge
Purge chezmoi's configuration and data
chezmoi re-add
Re-add modified files
chezmoi rm
Remove a target from the source state and the destination directory
chezmoi secret
Interact with a secret manager
chezmoi secret keyring
Interact with keyring
chezmoi secret keyring delete
Delete a value from keyring
chezmoi secret keyring get
Get a value from keyring
chezmoi secret keyring set
Set a value in keyring
chezmoi source-path
Print the source path of a target
chezmoi state
Manipulate the persistent state
chezmoi state data
Print the raw data in the persistent state
chezmoi state delete
Delete a value from the persistent state
chezmoi state delete-bucket
Delete a bucket from the persistent state
chezmoi state dump
Generate a dump of the persistent state
chezmoi state get
Get a value from the persistent state
chezmoi state get-bucket
Get a bucket from the persistent state
chezmoi state reset
Reset the persistent state
chezmoi state set
Set a value from the persistent state
chezmoi status
Show the status of targets
chezmoi target-path
Print the target path of a source path
chezmoi unmanaged
List the unmanaged files in the destination directory
chezmoi update
Pull and apply any changes
chezmoi upgrade
Upgrade chezmoi to the latest released version
chezmoi verify
Exit with success if the destination state matches the target state, fail otherwise
chezmoi help
Help about any command
chezmoi help manage
Add an existing file, directory, or symlink to the source state
chezmoi help apply
Update the destination directory to match the target state
chezmoi help archive
Generate a tar archive of the target state
chezmoi help cat
Print the target contents of a file, script, or symlink
chezmoi help cd
Launch a shell in the source directory
chezmoi help chattr
Change the attributes of a target in the source state
chezmoi help completion
Generate shell completion code
chezmoi help data
Print the template data
chezmoi help decrypt
Decrypt file or standard input
chezmoi help diff
Print the diff between the target state and the destination state
chezmoi help doctor
Check your system for potential problems
chezmoi help dump
Generate a dump of the target state
chezmoi help edit
Edit the source state of a target
chezmoi help edit-config
Edit the configuration file
chezmoi help encrypt
Encrypt file or standard input
chezmoi help execute-template
Execute the given template(s)
chezmoi help unmanage
Remove a target from the source state
chezmoi help generate
Generate a file for use with chezmoi
chezmoi help git
Run git in the source directory
chezmoi help ignored
Print ignored targets
chezmoi help import
Import an archive into the source state
chezmoi help init
Setup the source directory and update the destination directory to match the target state
chezmoi help license
Print license
chezmoi help list
List the managed entries in the destination directory
chezmoi help merge
Perform a three-way merge between the destination state, the source state, and the target state
chezmoi help merge-all
Perform a three-way merge for each modified file
chezmoi help purge
Purge chezmoi's configuration and data
chezmoi help re-add
Re-add modified files
chezmoi help rm
Remove a target from the source state and the destination directory
chezmoi help secret
Interact with a secret manager
chezmoi help secret keyring
Interact with keyring
chezmoi help secret keyring delete
Delete a value from keyring
chezmoi help secret keyring get
Get a value from keyring
chezmoi help secret keyring set
Set a value in keyring
chezmoi help source-path
Print the source path of a target
chezmoi help state
Manipulate the persistent state
chezmoi help state data
Print the raw data in the persistent state
chezmoi help state delete
Delete a value from the persistent state
chezmoi help state delete-bucket
Delete a bucket from the persistent state
chezmoi help state dump
Generate a dump of the persistent state
chezmoi help state get
Get a value from the persistent state
chezmoi help state get-bucket
Get a bucket from the persistent state
chezmoi help state reset
Reset the persistent state
chezmoi help state set
Set a value from the persistent state
chezmoi help status
Show the status of targets
chezmoi help target-path
Print the target path of a source path
chezmoi help unmanaged
List the unmanaged files in the destination directory
chezmoi help update
Pull and apply any changes
chezmoi help upgrade
Upgrade chezmoi to the latest released version
chezmoi help verify
Exit with success if the destination state matches the target state, fail otherwise