/ flydocs uninstall

Remove all FlyDocs files and configuration from a project.

Synopsis

terminal
flydocs uninstall [flags]

Removes all FlyDocs-owned directories and files from your project, restores any backed-up originals, and cleans up the .gitignore. This is a destructive operation -- it deletes framework files, skills, hooks, and configuration.

Options

Flag Type Default Description
--path string cwd Project directory to uninstall from.
--here boolean false Use the current directory.
--confirm boolean false Skip the confirmation prompt.

What It Does

  1. Prompts for confirmation unless --confirm is passed
  2. Removes FlyDocs directories: .flydocs/, .claude/, flydocs/ and related managed paths
  3. Restores backups if FlyDocs backed up any original files during installation (e.g., a pre-existing .claude/ directory)
  4. Updates .gitignore by removing FlyDocs-specific entries

Uninstall does not remove global credentials at ~/.flydocs/credentials. Those persist for other projects. To remove global credentials, delete the file manually.

Examples

Uninstall from the current directory with confirmation prompt:

terminal
flydocs uninstall --here

Uninstall without prompting (useful in scripts):

terminal
flydocs uninstall --here --confirm

Uninstall from a specific project:

terminal
flydocs uninstall --path ./my-project --confirm

Related Commands