How to install Dicklesworthstone/destructive_command_guard. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
Dicklesworthstone/destructive_command_guard Installation Guide
How to install Dicklesworthstone/destructive_command_guard. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for Dicklesworthstone/destructive_command_guard. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i Dicklesworthstone/destructive_command_guardor
Install via npx
npx @hexmos/ipm i Dicklesworthstone/destructive_command_guardPrerequisites
curl
binaryVersion: >=7.0
bash
shellgit
binaryVersion: >=2.0
PowerShell
shellVersion: >=5.1
Rust (nightly toolchain)
languageVersion: >=2024 edition
cargo
binaryVersion: >=2024 edition
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Quick Install (Linux/macOS)
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.sh?$(date +%s)" | bash -s -- --easy-modeQuick Install (Windows - native PowerShell)
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.ps1"))) -EasyMode -VerifyInstall Specific Version (Linux/macOS)
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.sh?$(date +%s)" | bash -s -- --version v0.6.5Build from Source (requires Rust nightly)
rustup install nightly
cargo +nightly install --git https://github.com/Dicklesworthstone/destructive_command_guard destructive_command_guardManual Build (requires Rust nightly)
git clone https://github.com/Dicklesworthstone/destructive_command_guard
cd destructive_command_guard
cargo build --release
cp target/release/dcg ~/.local/bin/Post Installation Steps
- Run `dcg setup` to add a shell startup check that warns if the hook is silently removed from AI agent configurations.
- Restart your AI coding agent (e.g., Claude Code, Codex CLI) after installation for hooks to take effect.
