Installation Deep Dive
Phaset runs on a single host within your infrastructure of choice—local, on-prem, or cloud—and is deliberately intended to be straightforward to get working.
System Requirements
Section titled “System Requirements”Operating System:
- Linux (any modern distribution)
- macOS
Runtime:
- Node.js 24 or later (download here)
Hardware:
- Works on anything that runs Linux
Network:
- Internet access during initial installation (to download Phaset)
- SMTP server access (for authentication emails)
- Inbound network access for users and integrations
Quick Start
Section titled “Quick Start”The fastest way to install Phaset is using the one-line installer:
curl -sSL https://releases.phaset.dev/install.sh | bashThis installs the Phaset CLI to ~/.local/bin/phaset. You may need to add this directory to your PATH:
export PATH="$HOME/.local/bin:$PATH"Installation Steps
Section titled “Installation Steps”- Install the Phaset CLI using the quick start command above.
- Install the Phaset API:
phaset install. This downloads and installs the Phaset API to~/.phaset/. - Create a configuration file in your desired working directory:
phaset init. This creates aphaset.config.jsontemplate file. - Configure Phaset by editing
phaset.config.jsonwith your settings (see Configuration below). - Start Phaset:
phaset start. The API server will start and display the URL where Phaset is accessible.
That’s it! Phaset is now running on your infrastructure.
Configuration
Section titled “Configuration”See the dedicated Configuration page for any details about that subject.
CLI Commands
Section titled “CLI Commands”The Phaset CLI provides several commands for managing your installation:
# Install the Phaset APIphaset install
# Check for and install updatesphaset upgrade
# Create a config file templatephaset init
# Start the Phaset API serverphaset start
# Validate your Phaset license keyphaset license
# Activate your Phaset license keyphaset activate # Implicit: picks "phaset.licenseKey" value from local phaset.config.jsonphaset activate <key>. # Explicit
# Deactivate your Phaset license keyphaset deactivate # Implicit: picks "phaset.licenseKey" value from local phaset.config.jsonphaset deactivate <key> # Explicit
# Read the Phaset documentationphaset docs
# Read the Phaset software agreementphaset legal
# Remove Phaset from your systemphaset uninstallUpdating Phaset
Section titled “Updating Phaset”To update to the latest version:
phaset upgradeThis checks for updates and installs them automatically. Your configuration and data are preserved.
Data Storage
Section titled “Data Storage”Phaset stores all data locally on your host:
- Installation:
~/.phaset/(API binary and version info) - Configuration:
phaset.config.json(in your working directory) - Data: Local database files (in your working directory)