Skip to content

Command Reference

SkyBox provides a set of commands for managing your local-first development environments with remote sync.

Commands Overview

CommandDescriptionCommon Usage
skybox initInteractive setup wizardskybox init
skybox newCreate new project on remoteskybox new my-app
skybox cloneClone remote project locallyskybox clone my-app
skybox pushPush local project to remoteskybox push ./my-app
skybox upStart a development containerskybox up my-app -e
skybox downStop a development containerskybox down my-app
skybox shellAccess shell inside containerskybox shell my-app
skybox openOpen editor/shell for running containerskybox open my-app --editor
skybox statusShow project statusskybox status my-app
skybox dashboardFull-screen status dashboardskybox dashboard
skybox browseList projects on remote serverskybox browse
skybox listList local projectsskybox list
skybox rmRemove project locally (keeps remote)skybox rm my-app
skybox editorChange default editorskybox editor
skybox configView/modify configurationskybox config set editor code
skybox remoteManage remote serversskybox remote list
skybox doctorDiagnose common issuesskybox doctor
skybox logsShow container or sync logsskybox logs my-app -f
skybox encryptManage project encryptionskybox encrypt enable my-app
skybox updateCheck for and install SkyBox updatesskybox update
skybox hookShell integration for auto-starting containersskybox hook bash

Offline Reference

All commands include built-in help with usage examples. Run skybox <command> --help for the same information available on these pages.

Global Options

All commands support these global options:

bash
-h, --help     Show help for a command
-v, --version  Show SkyBox version
--dry-run      Preview commands without executing them

Dry-Run Mode

The --dry-run flag previews what a command would do without executing any side effects (no SSH, Docker, filesystem writes, or sync operations). Each skipped action is printed with a [dry-run] prefix.

bash
# Preview starting a project
skybox up my-project --dry-run

# Preview removing a project and its remote copy
skybox rm my-project --remote --dry-run

# Preview cloning from remote
skybox clone my-project --dry-run

Supported commands: up, down, clone, push, rm, init, new, editor, config, config-devcontainer, remote, update, encrypt, open, shell, hook.

Read-only commands (status, list, browse, logs, dashboard, doctor) are unaffected since they have no side effects.

Quick Reference

Setup and Configuration

bash
# Initial setup
skybox init

# Diagnose common issues
skybox doctor

# View configuration
skybox config

# Test remote connections
skybox config --validate

# Change default editor
skybox editor

# Or via config
skybox config set editor vim

# Enable project encryption
skybox encrypt enable my-app

# Disable project encryption
skybox encrypt disable my-app

# Set up shell integration (auto-start containers on cd)
eval "$(skybox hook bash)"  # Add to ~/.bashrc
eval "$(skybox hook zsh)"   # Or add to ~/.zshrc

Managing Remote Servers

bash
# Add a new remote
skybox remote add myserver user@host:~/code

# List configured remotes
skybox remote list

# Remove a remote
skybox remote remove myserver

# Rename a remote
skybox remote rename myserver production

Working with Projects

bash
# Start working on a project
skybox up my-project

# Stop a project
skybox down my-project

# Open editor/shell for running container
skybox open my-project

# Access shell inside container
skybox shell my-project

# Run a command in container
skybox shell my-project -c "npm test"

# Check project status
skybox status my-project

Syncing with Remote

bash
# See what's on the remote server
skybox browse

# Clone a project from remote
skybox clone my-project

# Push a local project to remote
skybox push ./my-project

# Create a new project on remote
skybox new

Diagnostics & Maintenance

bash
# Show container logs
skybox logs my-project -f

# Show sync logs
skybox logs my-project --sync

# Diagnose common issues
skybox doctor

# Check for and install updates
skybox update

Batch Operations

bash
# Start all projects
skybox up --all

# Stop all projects
skybox down --all

# Remove multiple projects (interactive multi-select)
skybox rm

Cleanup

bash
# Remove a project locally (remote copy preserved)
skybox rm my-project

Released under the Apache License 2.0.