logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt
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_guard
or

Install via npx

npx @hexmos/ipm i Dicklesworthstone/destructive_command_guard

Prerequisites

curl

binary

Version: >=7.0

bash

shell

git

binary

Version: >=2.0

PowerShell

shell

Version: >=5.1

Rust (nightly toolchain)

language

Version: >=2024 edition

cargo

binary

Version: >=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-mode

Quick Install (Windows - native PowerShell)

& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.ps1"))) -EasyMode -Verify

Install Specific Version (Linux/macOS)

curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.sh?$(date +%s)" | bash -s -- --version v0.6.5

Build from Source (requires Rust nightly)

rustup install nightly

cargo +nightly install --git https://github.com/Dicklesworthstone/destructive_command_guard destructive_command_guard

Manual 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.