'use client' import { useState } from 'react' import { Download, Copy, Check } from 'lucide-react' const methods = [ { label: 'Homebrew (macOS)', cmd: 'brew tap greyhavenhq/tap\nbrew install greywall', }, { label: 'Linux / Mac', cmd: 'curl -fsSL https://raw.githubusercontent.com/GreyhavenHQ/greywall/main/install.sh | sh', }, { label: 'Go install', cmd: 'go install github.com/GreyhavenHQ/greywall/cmd/greywall@latest', }, { label: 'Build from source', cmd: 'git clone https://github.com/GreyhavenHQ/greywall\ncd greywall\nmake setup && make build', }, ] function CodeBlock({ cmd, label }: { cmd: string; label: string }) { const [copied, setCopied] = useState(false) function copy() { navigator.clipboard.writeText(cmd) setCopied(true) setTimeout(() => setCopied(false), 2000) } return (
{label}
{cmd}
) } export function GettingStarted() { return (
Getting started

Install in one command.

Wrap any agent and it runs sandboxed.

{methods.map((m) => ( ))}
) }