-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Before installing Photosphere CLI, you need to install the required media processing tools:
FFmpeg is required for video processing and metadata extraction.
Windows:
- Download from https://ffmpeg.org/download.html#build-windows
- Extract to a folder (e.g.,
C:\ffmpeg) - Add
C:\ffmpeg\binto your PATH environment variable
macOS:
# Using Homebrew (recommended)
brew install ffmpeg
# Using MacPorts
sudo port install ffmpegLinux (Ubuntu/Debian):
sudo apt update
sudo apt install ffmpegLinux (CentOS/RHEL/Fedora):
# Fedora
sudo dnf install ffmpeg
# CentOS/RHEL (enable EPEL repository first)
sudo yum install epel-release
sudo yum install ffmpegImageMagick is required for image processing and thumbnail generation.
Windows:
- Download from https://imagemagick.org/script/download.php#windows
- Run the installer and ensure "Install development headers and libraries for C and C++" is checked
- Make sure ImageMagick is added to your PATH
macOS:
# Using Homebrew (recommended)
brew install imagemagick
# Using MacPorts
sudo port install ImageMagickLinux (Ubuntu/Debian):
sudo apt update
sudo apt install imagemagickLinux (CentOS/RHEL/Fedora):
# Fedora
sudo dnf install ImageMagick
# CentOS/RHEL
sudo yum install ImageMagickCheck that both tools are installed and accessible:
ffmpeg -version
ffprobe -version
magick -version
# or on older systems:
convert -versionAll commands should return version information without errors.
- Go to the Photosphere releases page
- Download the appropriate binary for your platform:
-
Linux:
psi-linux-x64orpsi-linux-arm64 -
Windows:
psi-windows-x64.exe -
macOS:
psi-macos-x64orpsi-macos-arm64
-
Linux:
After downloading, you need to make the binary executable:
# Rename for convenience (optional)
mv psi-linux-x64 psi # Linux
mv psi-macos-x64 psi # macOS
# Make executable
chmod +x psi
# Verify permissions
ls -la psiYou should see permissions like -rwxr-xr-x.
macOS blocks unsigned binaries by default. Remove the quarantine attribute:
xattr -c ./psiThis is safe for trusted software like Photosphere CLI.
For system-wide access, move the binary to a directory in your PATH:
# Linux/macOS
sudo mv psi /usr/local/bin/
# Or create a local bin directory
mkdir -p ~/bin
mv psi ~/bin/
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
source ~/.bashrcWindows: Move psi.exe to a folder in your PATH, or add its location to your PATH environment variable.
Test that everything works:
# Check that Photosphere CLI is working
psi --version
# Verify required tools are detected
psi toolsThe psi tools command will check that FFmpeg and ImageMagick are properly installed and accessible.
Now you're ready to use Photosphere CLI:
# Create a new photo database
psi init ~/my-photos
# Add some photos
psi add ~/my-photos ~/Pictures/*.jpg
# Launch the web interface
psi ui ~/my-photos