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 - Status | 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 983 Views 5 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 on 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 on 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 on 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 on 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 on
          • J joseph marked this topic as a regular topic on
          • 32463 Offline
            32463 Offline
            3246
            wrote on last edited by
            #5

            Thanks folks. I'll give that a whirl 🙂

            👉 Find our more www.bebraver.online

            1 Reply Last reply
            2

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            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