Skip to content

Quick Start

Get started with PraisonAIWP in 5 minutes.

1. Configure Your Server

Initialize the configuration:

praisonaiwp init

This creates ~/.praisonaiwp/config.yaml. Edit it with your server details:

default_server: my-server
servers:
  my-server:
    hostname: example.com
    username: admin
    key_file: ~/.ssh/id_ed25519
    wp_path: /var/www/wordpress
    php_bin: /usr/bin/php
    wp_cli: /usr/local/bin/wp

2. Test Connection

praisonaiwp list --limit 5

If successful, you'll see your WordPress posts listed.

3. Create Your First Post

praisonaiwp create "My First Post" \
  --content "<h2>Hello World</h2><p>This is my first post created with PraisonAIWP!</p>" \
  --status publish

HTML Auto-Conversion

HTML content is automatically converted to Gutenberg blocks. You don't need to write raw block markup!

4. List Posts

# List all published posts
praisonaiwp list --status publish

# List pages
praisonaiwp list --type page

# JSON output for scripting
praisonaiwp --json list --limit 10

5. Update a Post

# Update post title
praisonaiwp update 123 --post-title "Updated Title"

# Update post content
praisonaiwp update 123 --post-content "<p>New content here</p>"

6. Search for Content

# Find posts containing a keyword
praisonaiwp find "wordpress"

Next Steps