## Landbase CLI Installation Read all 9 steps before executing anything. Installation is not complete until step 9. 1. Detect the OS. Then download the appropriate installer: - Linux/macOS: curl -fsSL "https://cli.landbase.com/install.sh" -o /tmp/landbase-install.sh - Windows: Invoke-WebRequest -Uri "https://cli.landbase.com/install.ps1" -OutFile "$env:TEMP\landbase-install.ps1" -UseBasicParsing 2. Review the script. 3. Tell the user: "The installer will open a browser tab to connect your Landbase account — please sign in and approve access when it opens." Then run the installer: - Linux/macOS: sh /tmp/landbase-install.sh - Windows: powershell -ExecutionPolicy Bypass -File "$env:TEMP\landbase-install.ps1" (Use `powershell`, not `pwsh` — PowerShell 7 may not be installed. Windows PowerShell 5.1 is always available.) 4. Check if landbase-cli is in PATH: - Linux/macOS: command -v landbase-cli. If not found, prepend "export PATH=$HOME/.local/bin:$PATH &&" to landbase-cli commands. - Windows: where.exe landbase-cli. If not found, use `& "$env:USERPROFILE\.local\bin\landbase-cli.exe"` in place of bare `landbase-cli` for subsequent commands. 5. Confirm with: landbase-cli auth status 6. Determine the active account: run landbase-cli account list (returns each account's name and id). If it returns one account, it's used automatically — continue. If it returns more than one, show the user the account NAMES and ask which to use, then run landbase-cli account set with the id of the chosen account. Do not ask the user to choose an id directly. 7. Ask the user yourself (default No): "Allow Claude to run landbase-cli commands without prompting each time? [y/N]" (use AskUserQuestion if available). Get their answer before running anything — landbase-cli config permissions is non-interactive and exits immediately without prompting. If yes: landbase-cli config permissions --yes. If no, skip it (reversible: landbase-cli config permissions --no). 8. Ask the user yourself (default No): "Allow Landbase to capture your opening prompt for debugging and support? [y/N]" (use AskUserQuestion if available). If yes: landbase-cli config telemetry --yes. If no, skip it (reversible: landbase-cli config telemetry --no). 9. Ask the user if they'd like to run a quick demo (find 5 CFOs at LA entertainment companies). If yes, invoke /landbase-quickstart.