Your friendly neighborhood profile manager. Interactive CLI tool for AWS profiles and Kubernetes namespaces with TUI menus and file validation.
- π Hierarchical profile organization
- π Private profile support
- β Automatic file validation (AWS config, kubeconfig)
- π View profile contents before loading
- β¨οΈ Interactive TUI with arrow key navigation
- π Fuzzy search for profiles and namespaces
- π Seamless shell integration
Download the latest release for your platform:
# macOS (Apple Silicon)
curl -L https://github.com/akomic/dexter/releases/latest/download/dexter-darwin-arm64 -o dexter
chmod +x dexter
sudo mv dexter /usr/local/bin/
# macOS (Intel)
curl -L https://github.com/akomic/dexter/releases/latest/download/dexter-darwin-amd64 -o dexter
chmod +x dexter
sudo mv dexter /usr/local/bin/
# Linux (amd64)
curl -L https://github.com/akomic/dexter/releases/latest/download/dexter-linux-amd64 -o dexter
chmod +x dexter
sudo mv dexter /usr/local/bin/
# Linux (arm64)
curl -L https://github.com/akomic/dexter/releases/latest/download/dexter-linux-arm64 -o dexter
chmod +x dexter
sudo mv dexter /usr/local/bin/git clone https://github.com/akomic/dexter.git
cd dexter
go build
sudo mv dexter /usr/local/bin/To enable environment variable exports, add the wrapper function to your shell:
# For bash/zsh
eval "$(dexter init)" >> ~/.bashrc # or ~/.zshrc
# For fish
eval "$(dexter init fish)" >> ~/.config/fish/config.fish
# Then reload your shell
source ~/.bashrc # or source ~/.zshrcCreate your profile directory structure:
mkdir -p ~/.dexter_profilesCreate profile files with environment variables:
# ~/.dexter_profiles/production
export AWS_PROFILE=prod
export AWS_REGION=us-east-1
export AWS_CONFIG_FILE=~/.aws/config-prod
export KUBECONFIG=~/.kube/config-prod
unset AWS_DEFAULT_REGIONFor private profiles, add a .private marker:
mkdir -p ~/.dexter_profiles/company
touch ~/.dexter_profiles/company/.private# Interactive menu
dexctx
# Show private profiles
dexctx -p
# Load specific profile
dexctx -p production
# Navigate to group
dexctx -g company
# Set Kubernetes namespace
dexctx -n production
# Interactive namespace selection
dexctx -nβ/βorj/k- NavigateEnter- Select profilev- View profile contents/- Start fuzzy search (profiles and namespaces)Esc- Exit search mode (when searching)q- Quit
~/.dexter_profiles/
βββ production # Regular profile
βββ staging # Regular profile
βββ company/ # Profile group
β βββ .private # Marks as private
β βββ prod
β βββ dev
βββ client/
βββ profile1
βββ profile2
MIT