eliba CLI Documentation

Command-line tools for managing eliba resources, deploying applications, and interacting with APIs. Secure, scalable, and developer-first.

Installation

NPM Package

Install our CLI using npm or yarn directly from the eliba registry.


npm install -g @eliba/cli
                        

Supports Node.js 18 or later. Requires administrative privileges on some systems.

Binary Download

Download precompiled binaries for Linux, macOS, or Windows.


# Linux x64
curl -L https://eliba.com/cli/v3.1.7/eliba-cli-linux.tar.gz | tar -xz -C /usr/local/bin/
                        

Verify checksums using SHA256 provided in release notes.

Command Reference

eliba [command] [options]

Command Description Example
deploy Deploy application to eliba cloud eliba deploy --env=production
logs View deployment logs in real time eliba logs --deployment=12345
config Configure CLI settings eliba config set --profile=dev
auth Manage authentication tokens eliba auth login
completion Generate shell completion scripts eliba completion --shell=zsh > ~/.zshrc

Usage Examples

Quick Deploy


eliba deploy \
  --env=dev \
  --region=us-west \
  --file=dist/myapp.tar.gz
                        

Deploys an application to development environment in US-West region

Interactive Configuration


eliba config
Welcome to eliba CLI!
? Choose profile (default is 'default'): 
? Set region (default is 'us-east'): 
? Set default environment (default is 'dev'): 
                        

Configuration

Config File Format


profiles:
  dev:
    region: us-west
    env: development
    api_key: your-key-here
  prod:
    region: eu-west
environments:
  development:
    type: dev
  production:
    type: prod
                        

Encryption

All configuration files are automatically AES-256-GCM encrypted. You can disable encryption by setting ELIBA_CLI_NO_ENCTRYPTION=true in your environment.

Configuration encrypted with 256-bit AES-GCM

Common Issues

Error
Solution
Error: Could not authenticate
Ensure you've run eliba auth login first
Error: Invalid config format
Check your ~/.eliba/config.yaml for syntax errors
Error: Failed to reach eliba
Check your network connection and firewall rules