Using WP-CLI or Laravel Artisan from SSH Print


If you're building WordPress or Laravel apps, you can speed up tasks with command-line tools like WP-CLI and Artisan.

Using WP-CLI:

  1. Connect via SSH.
  2. Navigate to your WordPress directory:
    cd ~/public_html
  3. Run commands like:
    wp plugin update --all
    wp core update

Using Artisan (Laravel):

  1. Navigate to Laravel app root:
    cd ~/public_html/laravel
  2. Run:
    php artisan migrate
    php artisan config:cache

WP-CLI and Artisan are pre-supported in most Aviumshost environments with SSH access.


Was this answer helpful?

Related Articles

How to Use SSH Access on Shared Hosting SSH (Secure Shell) provides encrypted command-line access to your hosting account — ideal for... Managing Cron Jobs in cPanel Cron Jobs allow you to automate repetitive tasks like running scripts at set intervals. Steps to... Custom .htaccess Rules for Advanced Configuration The .htaccess file allows you to control many Apache settings for your site. Common Uses:... Using Git Version Control in cPanel Track changes and deploy code efficiently using Git from your Aviumshost cPanel. Create a Git... PHP Configuration Overrides (php.ini & .user.ini) You can customize PHP settings like memory limit or max upload size without needing root access....
« Back