enx setup

Initial setup for enx.


Usage

enx setup

Description

Performs first-time setup for enx. Run this after installation (and any time you want to fully reset shell integration). 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. Rebuilds bash/zsh shell integration scripts and repairs source lines in shell rc files
  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 bash
  βœ“ Setup complete!

See Also