Quick Start Guide
This guide will help you get up and running with the PipeOps CLI in minutes. You'll learn how to authenticate, create a project, and deploy your first application.
Prerequisites
- PipeOps CLI installed (Installation Guide)
- A PipeOps account (Sign up here)
- A Git repository with your application code
Step 1: Authentication
First, authenticate with your PipeOps account:
pipeops auth login
This will:
- Open your browser for OAuth authentication
- Prompt you to authorize the CLI
- Save your authentication token locally
You should see output similar to:
Opening browser for authentication...
✓ Successfully authenticated as user@example.com
Verify Authentication
Check your authentication status:
pipeops auth status
View your account information:
pipeops auth me
Step 2: Create Your First Project
List your existing projects:
pipeops project list
Create a new project:
pipeops project create
The CLI will interactively ask you for:
- Project name
- Git repository URL
- Branch to deploy
- Environment variables (optional)
- Build configuration
Alternatively, create a project with flags:
pipeops project create \
--name my-app \
--repo https://github.com/username/my-app \
--branch main \
--framework nodejs
Step 3: View Your Projects
Once authenticated, view your projects:
pipeops list
Get detailed status for a specific project:
pipeops status proj-123
View project logs in real-time:
pipeops logs proj-123 --follow
Step 4: List Available Addons
You can view available addons and their deployments:
# List available addons
pipeops list --addons
# List addon deployments for a project
pipeops list --deployments --project proj-123
For creating new projects and deploying application code (including addons), use the Web UI.
Common Workflows
Monitoring Projects
View project status and logs:
# Check project status
pipeops status proj-123
# View logs in real-time
pipeops logs proj-123 --follow
# View last 100 lines of logs
pipeops logs proj-123 --lines 100
Viewing Addons
View available addons and their deployments:
# List available addons
pipeops list --addons
# Get addon information
pipeops status --addon postgres
# List addon deployments for a project
pipeops list --deployments --project proj-123
Viewing Logs
View project logs:
# Recent logs
pipeops logs proj-123
# Follow logs in real-time
pipeops logs proj-123 --follow
# Filter logs by service
pipeops logs proj-123 --service web-service
# View last 100 lines
pipeops logs proj-123 --lines 100
Checking Status
Check overall system status:
pipeops status
Check project status:
pipeops list
Check specific project status:
pipeops status proj-123
Using JSON Output
All commands support --json flag for machine-readable output:
# List projects in JSON format
pipeops project list --json
# Use with jq for filtering
pipeops project list --json | jq '.[] | select(.status=="running")'
This is useful for:
- Scripting and automation
- CI/CD pipelines
- Integration with other tools
Next Steps
Learn More About Commands
- Authentication Commands: Manage your account and sessions
- Project Commands: Full project lifecycle management
- Deployment Commands: Advanced deployment operations
- Server Commands: Server management and provisioning
Advanced Usage
- Configuration: Customize CLI behavior
- Docker Integration: Use CLI in containers
- CI/CD Integration: Automate deployments
- Agent Management: Manage PipeOps agents
Get Help
- Command Help: Run
pipeops <command> --helpfor detailed information - Troubleshooting: Check the Troubleshooting Guide
- Community: Join our Slack community
- Support: Visit PipeOps Support
Tips and Best Practices
Use Environment Variables
Store sensitive information in environment variables instead of hardcoding:
export PIPEOPS_PROJECT="proj-123"
pipeops status $PIPEOPS_PROJECT
Using Aliases
Create shell aliases for frequently used commands:
alias ppo='pipeops'
alias ppo-status='pipeops status'
alias ppo-logs='pipeops logs --follow'
alias ppo-list='pipeops list'
Add these to your ~/.bashrc or ~/.zshrc.
Use Tab Completion
Enable tab completion for the CLI (if supported):
# Bash
pipeops completion bash > /etc/bash_completion.d/pipeops
# Zsh
pipeops completion zsh > "${fpath[1]}/_pipeops"
Keep CLI Updated
Regularly update the CLI to get the latest features:
pipeops update
CLI vs Web UI Comparison
| Task | CLI Command | Web UI |
|---|---|---|
| Create Project | Use Web UI | Projects > New Project |
| View Projects | pipeops list | Projects Dashboard |
| View Addons | pipeops list --addons | Project > Addons |
| View Logs | pipeops logs --follow | Project > Logs |
| Manage Servers | pipeops server list | Servers Dashboard |
| Check Status | pipeops status | Project > Overview |
Example: Complete Workflow
Here's a complete workflow from authentication to monitoring:
# 1. Authenticate
pipeops auth login
# 2. List your projects
pipeops list
# 3. Check project status
pipeops status proj-123
# 4. View logs in real-time
pipeops logs proj-123 --follow
# 5. List available addons
pipeops list --addons
# 6. Get addon information
pipeops status --addon postgres
# 7. List addon deployments
pipeops list --deployments --project proj-123
You're now ready to use the PipeOps CLI effectively! Explore the other sections of the documentation to learn about advanced features and workflows.