Download CelerBuild
CelerBuild provides multiple installation methods. Choose the one that best suits your needs.
Quick Installation Methods
1. Quick Install with curl
Automatically detect your OS and architecture:
# Auto Install (macOS & Linux)
curl -fsSL https://raw.githubusercontent.com/celerbuild/download/refs/heads/main/install.sh | sh
Or install manually:
# Download install script
curl -O https://raw.githubusercontent.com/celerbuild/download/refs/heads/main/install.sh
# Make it executable
chmod +x install.sh
# Run install script
./install.sh
The script will install CelerBuild to /usr/local/bin/celerbuild
Run CelerBuild
- Foreground Mode:
celerbuild
- Background Mode (Recommended for Production):
For Linux (using systemd):
# Create service file
sudo tee /etc/systemd/system/celerbuild.service << EOF
[Unit]
Description=CelerBuild Service
After=network.target
[Service]
Type=simple
User=$USER
ExecStart=/usr/local/bin/celerbuild
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
EOF
# Start service
sudo systemctl daemon-reload
sudo systemctl enable celerbuild
sudo systemctl start celerbuild
# Manage service
sudo systemctl status celerbuild # Check status
sudo systemctl stop celerbuild # Stop service
sudo systemctl restart celerbuild # Restart service
For macOS (using launchd):
# Create launch agent file
mkdir -p ~/Library/LaunchAgents
cat > ~/Library/LaunchAgents/com.celerbuild.plist << EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.celerbuild</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/celerbuild</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
EOF
# Manage service
launchctl load ~/Library/LaunchAgents/com.celerbuild.plist # Start service
launchctl unload ~/Library/LaunchAgents/com.celerbuild.plist # Stop service
launchctl list | grep celerbuild # Check status
2. Quick Install with Homebrew
For macOS users:
# Install via Homebrew
brew tap celerbuild/celerbuild
brew install celerbuild
Requires Homebrew (opens in a new tab) package manager
Verify Installation
celerbuild -version
Run CelerBuild
# Run directly
celerbuild
# Or manage as a service
brew services start celerbuild # Start service
brew services stop celerbuild # Stop service
brew services restart celerbuild # Restart service
Manual Download and Installation
If you prefer to download and install manually, follow these steps:
1. Download
First, determine the latest version of CelerBuild by visiting the CelerBuild official website (opens in a new tab).
The download URL format is:
celerbuild-{VERSION}-{OS}-{ARCH}.tar.gz
Where:
{VERSION}
: CelerBuild version (e.g., 0.8.8){OS}
: Operating systemdarwin
(macOS)linux
(Linux)
{ARCH}
: CPU architectureamd64
(Intel/AMD 64-bit)arm64
(ARM 64-bit)
For macOS with Intel/AMD CPU:
# macOS AMD64 example (version 0.8.8)
curl -O https://raw.githubusercontent.com/celerbuild/download/refs/heads/main/celerbuild-0.8.8-darwin-amd64.tar.gz
For macOS with Apple Silicon (M1/M2):
# macOS ARM64 example (version 0.8.8)
curl -O https://raw.githubusercontent.com/celerbuild/download/refs/heads/main/celerbuild-0.8.8-darwin-arm64.tar.gz
For Linux with Intel/AMD CPU:
# Linux AMD64 example (version 0.8.8)
curl -O https://raw.githubusercontent.com/celerbuild/download/refs/heads/main/celerbuild-0.8.8-linux-amd64.tar.gz
For Linux with ARM CPU:
# Linux ARM64 example (version 0.8.8)
curl -O https://raw.githubusercontent.com/celerbuild/download/refs/heads/main/celerbuild-0.8.8-linux-arm64.tar.gz
Download Options
- Direct Download:
curl -O https://raw.githubusercontent.com/celerbuild/download/refs/heads/main/celerbuild-0.8.8-darwin-amd64.tar.gz
- Alternative Download Methods:
- Visit our official website: https://celerbuild.com/download (opens in a new tab)
- Download from GitHub: https://github.com/celerbuild/download (opens in a new tab)
Troubleshooting Download Issues
If you encounter connection issues with githubusercontent.com:
Alternative solutions:
- Use a VPN
- Use alternative DNS servers
- Download directly from our official website
Verify Download
After downloading, verify the file integrity using SHA256 checksum:
- Get the checksum:
# For macOS
shasum -a 256 celerbuild-0.8.8-darwin-amd64.tar.gz
# For Linux
sha256sum celerbuild-0.8.8-linux-amd64.tar.gz
- Compare with the official checksum:
# macOS (darwin-amd64)
7c35b8a779bdbbbf41315ae95505e55de3e4ea0048be89049ddf67c23d7f8c2d celerbuild-0.8.8-darwin-amd64.tar.gz
# Linux (amd64)
ca5ba325c98723c3524a86a2065ed911debaa30c33871c656e229f2b2cd0a11d celerbuild-0.8.8-linux-amd64.tar.gz
The checksums should match exactly. If they don't, the download may be corrupted or tampered with.
2. Extract the File
# For macOS with Intel CPU (example)
tar zxvf celerbuild-0.8.8-darwin-amd64.tar.gz
# For macOS with Apple Silicon (example)
tar zxvf celerbuild-0.8.8-darwin-arm64.tar.gz
# For Linux with Intel CPU (example)
tar zxvf celerbuild-0.8.8-linux-amd64.tar.gz
3. Set Permissions
# For macOS with Intel CPU (example)
chmod +x celerbuild-0.8.8-darwin-amd64
# For Linux with Intel CPU (example)
chmod +x celerbuild-0.8.8-linux-amd64
4. Run CelerBuild
Foreground Mode
# For macOS with Intel CPU (example)
./celerbuild-0.8.8-darwin-amd64
# For Linux with Intel CPU (example)
./celerbuild-0.8.8-linux-amd64
Background Mode (Recommended for Production)
Using systemd (Linux)
- Create log files and set permissions:
# Replace {USER} with your system user
sudo touch /var/log/celerbuild.log /var/log/celerbuild.error.log
sudo chown {USER}:{USER} /var/log/celerbuild.log /var/log/celerbuild.error.log
- Create a systemd service file:
sudo nano /etc/systemd/system/celerbuild.service
- Add the following content:
[Unit]
Description=CelerBuild Service
After=network.target
[Service]
Type=simple
User={USER}
Group={USER}
WorkingDirectory=/path/to/celerbuild-src
Environment="HOME=/home/{USER}"
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ExecStart=/path/to/celerbuild-src/celerbuild-{VERSION}-linux-amd64
Restart=always
RestartSec=3
StandardOutput=append:/var/log/celerbuild.log
StandardError=append:/var/log/celerbuild.error.log
[Install]
WantedBy=multi-user.target
Replace the following placeholders:
{USER}
: Your system username/path/to/celerbuild-src
: Actual path to CelerBuild directory{VERSION}
: CelerBuild version number
For example, on Ubuntu with user 'ubuntu':
[Unit]
Description=CelerBuild Service
After=network.target
[Service]
Type=simple
User=ubuntu
Group=ubuntu
WorkingDirectory=/home/ubuntu/celerbuild-src
Environment="HOME=/home/ubuntu"
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
ExecStart=/home/ubuntu/celerbuild-src/celerbuild-{VERSION}-linux-amd64
Restart=always
RestartSec=3
StandardOutput=append:/var/log/celerbuild.log
StandardError=append:/var/log/celerbuild.error.log
[Install]
WantedBy=multi-user.target
- Set correct permissions:
sudo chown -R {USER}:{USER} /path/to/celerbuild-src
sudo chmod +x /path/to/celerbuild-src/celerbuild-{VERSION}-linux-amd64
- Start the service:
sudo systemctl daemon-reload
sudo systemctl enable celerbuild
sudo systemctl start celerbuild
Verifying Successful Installation
After starting the service, verify it's running correctly:
- Check service status:
sudo systemctl status celerbuild
You should see output similar to:
● celerbuild.service - CelerBuild Service
Loaded: loaded
Active: active (running)
Main PID: [number]
Tasks: 4
Memory: ~8.5M
Key indicators of successful installation:
- Status shows "active (running)"
- No error messages in the output
- Memory and CPU usage are stable
- Verify the web interface:
# Check if the service is listening
curl -I http://localhost:8666
- Monitor the service:
# View real-time logs
tail -f /var/log/celerbuild.log
# Check resource usage
sudo systemctl status celerbuild --no-pager
The service is now properly installed and running. You can proceed to:
- Access the web interface at http://your-server:8666 (opens in a new tab)
- Complete the activation process
- Configure your database settings
Troubleshooting
If you encounter issues:
- Check the logs:
tail -f /var/log/celerbuild.log /var/log/celerbuild.error.log
- Check process status:
ps aux | grep celerbuild
Common issues and solutions:
- Permission errors: Verify user/group settings
- Path issues: Ensure all paths in service file are correct
- Service not starting: Check logs for detailed error messages
Next Steps
After downloading and setting up CelerBuild: