CLI Installation
The Fluxbase CLI (fluxbase) provides command-line access to manage your Fluxbase platform, including functions, jobs, storage, AI chatbots, and more.
Requirements
Section titled “Requirements”- macOS, Linux, or Windows
- Network access to your Fluxbase server
- (Optional) Deno for local function bundling
Installation Methods
Section titled “Installation Methods”Install Script (Recommended)
Section titled “Install Script (Recommended)”The easiest way to install the Fluxbase CLI:
# Install latest versioncurl -fsSL https://raw.githubusercontent.com/fluxbase-eu/fluxbase/main/install-cli.sh | bash
# Install specific versioncurl -fsSL https://raw.githubusercontent.com/fluxbase-eu/fluxbase/main/install-cli.sh | bash -s -- v2026.1.12-rc.4The script automatically detects your OS and architecture, downloads the appropriate binary, and installs it to /usr/local/bin.
Manual Download
Section titled “Manual Download”Download the latest CLI binary for your platform from the GitHub Releases page.
# macOS (Apple Silicon)curl -LO https://github.com/fluxbase-eu/fluxbase/releases/latest/download/fluxbase-darwin-arm64.tar.gztar -xzf fluxbase-darwin-arm64.tar.gzsudo mv fluxbase-darwin-arm64 /usr/local/bin/fluxbase
# macOS (Intel)curl -LO https://github.com/fluxbase-eu/fluxbase/releases/latest/download/fluxbase-darwin-amd64.tar.gztar -xzf fluxbase-darwin-amd64.tar.gzsudo mv fluxbase-darwin-amd64 /usr/local/bin/fluxbase# Linux (x86_64)curl -LO https://github.com/fluxbase-eu/fluxbase/releases/latest/download/fluxbase-linux-amd64.tar.gztar -xzf fluxbase-linux-amd64.tar.gzsudo mv fluxbase-linux-amd64 /usr/local/bin/fluxbase
# Linux (ARM64)curl -LO https://github.com/fluxbase-eu/fluxbase/releases/latest/download/fluxbase-linux-arm64.tar.gztar -xzf fluxbase-linux-arm64.tar.gzsudo mv fluxbase-linux-arm64 /usr/local/bin/fluxbaseWindows
Section titled “Windows”Download from the releases page:
- Download
fluxbase-windows-amd64.zip - Extract the archive
- Move
fluxbase-windows-amd64.exeto a directory in your PATH (e.g.,C:\Program Files\Fluxbase\) - Rename to
fluxbase.exefor convenience
Or using PowerShell:
# Download and extractInvoke-WebRequest -Uri "https://github.com/fluxbase-eu/fluxbase/releases/latest/download/fluxbase-windows-amd64.zip" -OutFile "fluxbase-windows-amd64.zip"Expand-Archive -Path "fluxbase-windows-amd64.zip" -DestinationPath "."
# Move to a directory in PATH (run as Administrator)Move-Item -Path "fluxbase-windows-amd64.exe" -Destination "C:\Program Files\Fluxbase\fluxbase.exe"From Source
Section titled “From Source”If you have Go 1.25+ installed, you can build the CLI from source:
# Clone the repositorygit clone https://github.com/fluxbase-eu/fluxbase.gitcd fluxbase
# Build and installmake cli-installThis installs the fluxbase command to /usr/local/bin.
Verify Installation
Section titled “Verify Installation”fluxbase versionExpected output:
fluxbase version 0.0.1commit: abc1234built: 2024-01-15T10:30:00ZUpdating
Section titled “Updating”Using the Install Script
Section titled “Using the Install Script”Run the install script again to update to the latest version:
curl -fsSL https://raw.githubusercontent.com/fluxbase-eu/fluxbase/main/install-cli.sh | bashChecking for Updates
Section titled “Checking for Updates”Compare your version with the latest release:
# Your current versionfluxbase version
# Check latest release on GitHubcurl -s https://api.github.com/repos/fluxbase-eu/fluxbase/releases/latest | grep tag_nameUninstallation
Section titled “Uninstallation”macOS / Linux
Section titled “macOS / Linux”sudo rm /usr/local/bin/fluxbaserm -rf ~/.fluxbase # Remove configuration (optional)Windows
Section titled “Windows”- Delete the
fluxbase.exebinary from your installation directory - Remove
%USERPROFILE%\.fluxbasedirectory (optional, removes configuration)
Shell Completion
Section titled “Shell Completion”Enable tab completion for your shell:
# Add to ~/.bashrcsource <(fluxbase completion bash)
# Or install globallyfluxbase completion bash > /etc/bash_completion.d/fluxbase# Add to ~/.zshrcsource <(fluxbase completion zsh)
# Or add to fpathfluxbase completion zsh > "${fpath[1]}/_fluxbase"fluxbase completion fish | source
# Or install permanentlyfluxbase completion fish > ~/.config/fish/completions/fluxbase.fishPowerShell
Section titled “PowerShell”fluxbase completion powershell | Out-String | Invoke-ExpressionTroubleshooting
Section titled “Troubleshooting””command not found” Error
Section titled “”command not found” Error”The binary isn’t in your PATH. Either:
-
Move the binary to a directory in your PATH:
Terminal window sudo mv fluxbase /usr/local/bin/ -
Or add the installation directory to your PATH:
Terminal window # Add to ~/.bashrc or ~/.zshrcexport PATH="$PATH:/path/to/fluxbase/directory"
Permission Denied
Section titled “Permission Denied”If you get a permission error during installation:
# macOS/Linux: Install with sudosudo curl -fsSL https://raw.githubusercontent.com/fluxbase-eu/fluxbase/main/install-cli.sh | sudo bash
# Or install to a user directorycurl -fsSL https://raw.githubusercontent.com/fluxbase-eu/fluxbase/main/install-cli.sh | bash -s -- --prefix ~/.localmacOS Gatekeeper Warning
Section titled “macOS Gatekeeper Warning”If macOS blocks the binary (“cannot be opened because the developer cannot be verified”):
# Remove the quarantine attributexattr -d com.apple.quarantine /usr/local/bin/fluxbaseConnectivity Issues
Section titled “Connectivity Issues”If commands fail with connection errors:
-
Check your server URL:
Terminal window fluxbase config view -
Test connectivity:
Terminal window curl -v https://your-server.com/health -
Enable debug mode for detailed output:
Terminal window fluxbase --debug auth status
Next Steps
Section titled “Next Steps”- Getting Started - Configure and authenticate
- Command Reference - Full command documentation
- Configuration - Configuration options
- Workflows - Common workflows and CI/CD integration