Installing FTL
FTL can be installed in several ways depending on your operating system and preferences. Choose the method that works best for your environment.
Installation Methods
Via Homebrew (macOS and Linux)
The recommended way to install FTL on macOS and Linux is through Homebrew:
# Add the FTL tap
brew tap yarlson/ftl
# Install FTL
brew install ftl
Direct Download (All Platforms)
Download and install the latest release directly from GitHub:
# Download and extract the binary
curl -L https://github.com/yarlson/ftl/releases/latest/download/ftl_$(uname -s)_$(uname -m).tar.gz | tar xz
# Move the binary to your PATH
sudo mv ftl /usr/local/bin/
Build from Source
For developers who want to build from source or contribute to FTL:
# Install using Go
go install github.com/yarlson/ftl@latest
TIP
Make sure you have Go 1.21 or later installed before building from source.
Verifying the Installation
After installation, verify that FTL is properly installed:
ftl version
You should see output showing the current version of FTL.
System Requirements
Before installing FTL, ensure your system meets these requirements:
Local Development Machine
Operating System:
- macOS 10.15 or later
- Linux (major distributions)
- Windows 10/11 with WSL2
Required Software:
- Git
- Docker Desktop or Docker Engine
- SSH client
Hardware:
- 4GB RAM (minimum)
- 2 CPU cores (recommended)
- 1GB free disk space
Target Deployment Server
Operating System:
- Ubuntu 20.04 LTS or newer (recommended)
- Debian 11 or newer
- Other Linux distributions with Docker support
Hardware:
- 1GB RAM (minimum)
- 1 CPU core (minimum)
- 20GB disk space (recommended)
Network:
- SSH access (port 22)
- Sudo privileges
- Ports 80 and 443 available for web traffic
Post-Installation Setup
After installing FTL, you should:
Create an SSH key if you haven't already:
bashssh-keygen -t ed25519 -C "[email protected]"
Verify Docker is installed and running:
bashdocker --version docker ps
Verify FTL installation:
bashftl version
Registry Authentication
If you plan to use a Docker registry, ensure you have:
- Registry URL
- Username/password credentials (token-based auth not supported)
- Network access to the registry from both local machine and servers
Troubleshooting
Common Installation Issues
Permission Denied When Running FTL
bashsudo chmod +x /usr/local/bin/ftl
Binary Not Found in PATH
bashecho 'export PATH="/usr/local/bin:$PATH"' >> ~/.bashrc source ~/.bashrc
Homebrew Installation Fails
bashbrew update && brew doctor
For more detailed troubleshooting information, see the Troubleshooting Guide.
Next Steps
Once FTL is installed, you can:
- Move on to Configuration to set up your first project
- Read the CLI Commands Reference to learn about available commands
- Check out the Guides section for detailed tutorials
Note
Remember to keep FTL updated to receive the latest features and security updates. If using Homebrew, run brew upgrade ftl
periodically.