Skip to content
Cisco AI Defense logo
CiscoAI Security

defenseclaw init — DefenseClaw

Overview

defenseclaw init — Initialize DefenseClaw environment.

Reference

Synopsis

defenseclaw init [OPTIONS]

Description

Initialize DefenseClaw environment

Initialize DefenseClaw environment.

Creates ~/.defenseclaw/, default config, SQLite database, and installs scanner dependencies.

Use --sandbox to set up openshell-sandbox standalone mode (Linux only). Use --enable-guardrail to configure the LLM guardrail inline.

Options

FlagTypeDefaultEnv varRequiredDescription
--skip-installbooleannoSkip automatic scanner dependency installation
--enable-guardrailbooleannoConfigure LLM guardrail during init
--sandboxbooleannoSet up sandbox mode (Linux only: creates sandbox user and directories)

Usage

Initialize with guardrail enabled

defenseclaw init --enable-guardrail

This creates the local DefenseClaw state and enables the guardrail setup path.

Skip dependency installation

defenseclaw init --skip-install

Use this when dependencies are already installed by another provisioning step.

Related