Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. LAMP
  3. [Question] How to install wp-cli on LAMP app

[Question] How to install wp-cli on LAMP app

Scheduled Pinned Locked Moved LAMP
5 Posts 4 Posters 163 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 32463 Offline
    32463 Offline
    3246
    wrote last edited by
    #1

    Hi all,

    What's the recommended way to install wp-cli in the LAMP app?

    I have struggled to get it working reliably and decided to ask for directions rather than bashing my head against the command line ;D

    KYAL

    👉 Find our more www.bebraver.online

    1 Reply Last reply
    1
    • robiR Offline
      robiR Offline
      robi
      wrote last edited by
      #2

      Is it not available in the WP App Store Apps?

      Conscious tech

      1 Reply Last reply
      0
      • jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote last edited by
        #3

        Hello @3246
        Since you are working inside the LAMP app and doing everything by yourself, instead of using the WordPress app, there is no "recommended" way.

        The official guide for wp-cli is here: https://make.wordpress.org/cli/handbook/guides/installing/

        1 Reply Last reply
        1
        • J Offline
          J Offline
          joseph
          Staff
          wrote last edited by joseph
          #4

          Just download the wp-cli phar file into /app/data/bin (create the 'bin' subdirectory) and chmod +x the phar file. That should be it.

          1 Reply Last reply
          1
          • J joseph moved this topic from Support
          • J joseph marked this topic as a regular topic
          • 32463 Offline
            32463 Offline
            3246
            wrote last edited by
            #5

            Thanks folks. I'll give that a whirl 🙂

            👉 Find our more www.bebraver.online

            1 Reply Last reply
            2
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search