-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Sagheer edited this page Dec 7, 2025
·
1 revision
Get QuickCMD up and running in minutes!
- Go 1.21+ - Download
- Docker (optional) - For sandbox execution
- Git - For cloning repository
curl -sSL https://raw.githubusercontent.com/SagheerAkram/QuickCmd/main/install.sh | bashThis will:
- Download the latest release
- Install to
/usr/local/bin - Set up configuration directory
- Verify installation
# 1. Clone repository
git clone https://github.com/SagheerAkram/QuickCmd.git
cd QuickCmd
# 2. Build CLI
make build
# 3. Build agent (optional)
make build-agent
# 4. Install globally
sudo make install
# 5. Verify
quickcmd --version# Download CLI
curl -L https://github.com/SagheerAkram/QuickCmd/releases/latest/download/quickcmd-linux-amd64 -o quickcmd
chmod +x quickcmd
sudo mv quickcmd /usr/local/bin/
# Download agent (optional)
curl -L https://github.com/SagheerAkram/QuickCmd/releases/latest/download/quickcmd-agent-linux-amd64 -o quickcmd-agent
chmod +x quickcmd-agent
sudo mv quickcmd-agent /usr/local/bin/# Pull image
docker pull sagheerakram/quickcmd:latest
# Create alias
echo "alias quickcmd='docker run -it --rm sagheerakram/quickcmd'" >> ~/.bashrc
source ~/.bashrc
# Use it
quickcmd "find large files"go install github.com/SagheerAkram/QuickCmd/cmd/quickcmd@latest
go install github.com/SagheerAkram/QuickCmd/cmd/quickcmd-agent@latest# Check version
quickcmd --version
# QuickCMD v2.0.0
# Test basic command
quickcmd "list files"
# Should show: ls -la
# Check configuration
quickcmd config show# Navigate to web frontend
cd web/frontend
# Install dependencies
npm install
# Build production bundle
npm run build
# Start web server
cd ../..
./bin/quickcmd-web --port 3000Access at: http://localhost:3000
For sandbox execution:
# Install Docker
curl -fsSL https://get.docker.com | sh
# Add user to docker group
sudo usermod -aG docker $USER
# Logout and login again
# Verify Docker
docker --versionAfter installation, QuickCMD creates:
~/.quickcmd/
βββ config.yaml # User configuration
βββ policy.yaml # Security policies
βββ audit.db # Command history
βββ plugins/ # Custom plugins
Create default configuration:
# Generate config
quickcmd init
# Edit configuration
nano ~/.quickcmd/config.yamlBasic config.yaml:
default_mode: sandbox
auto_approve_safe: true
show_confidence: true
enable_learning_mode: trueCreate security policy:
# Generate default policy
quickcmd policy init
# Edit policy
nano ~/.quickcmd/policy.yamlBasic policy.yaml:
denylist:
- pattern: "rm -rf /"
reason: "Prevents root deletion"
approval_required:
- pattern: "kubectl.*production"
reason: "Production needs approval"- Quick Start Tutorial - Learn basic usage
- Configuration Guide - Customize QuickCMD
- Security Setup - Configure policies
- Examples - See real-world use cases
# Check PATH
echo $PATH
# Add to PATH
export PATH=$PATH:/usr/local/bin
# Make permanent
echo 'export PATH=$PATH:/usr/local/bin' >> ~/.bashrc# Fix permissions
sudo chown -R $USER:$USER ~/.quickcmd
# Or run with sudo
sudo quickcmd "command"# Check Docker
docker ps
# Restart Docker
sudo systemctl restart docker
# Check user in docker group
groups $USER- Discord: Join community
- Issues: Report problem
- Docs: Full documentation