enx setup

Initial setup for enx.


Usage

enx setup

Description

Performs first-time setup for enx. This command runs automatically after installation but can be re-run at any time. It:

  1. Creates the global config directory:
    • Linux/macOS: ~/.config/enx/
    • Windows: ~\AppData\Roaming\enx\
  2. Initializes config.toml with default settings
  3. Creates an empty registry.toml
  4. Detects your shell and installs the shell integration wrapper function
  5. Prompts for a default projects directory

enx setup is safe to run again β€” it won’t overwrite existing configuration.

Example

$ enx setup
  β–Έ Setting up enx...
    βœ“ Created ~/.config/enx/config.toml
    βœ“ Created ~/.config/enx/registry.toml
    βœ“ Shell integration installed for fish
  βœ“ Setup complete!

See Also