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
  • 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. Support
  3. Cloudron CLI

Cloudron CLI

Scheduled Pinned Locked Moved Support
cli
6 Posts 3 Posters 985 Views 3 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.
  • L Offline
    L Offline
    lukas
    wrote on last edited by girish
    #1

    Hi,

    I installed the cloudron CLI today, but something is wrong:

    barcmin@cloudron:~$ sudo npm install -g cloudron
    [sudo] password for barcmin:
    
    changed 105 packages, and audited 106 packages in 5s
    
    17 packages are looking for funding
      run `npm fund` for details
    
    1 high severity vulnerability
    
    Some issues need review, and may require choosing
    a different dependency.
    
    Run `npm audit` for details.
    barcmin@cloudron:~$ npm fund
    barcmin
    
    barcmin@cloudron:~$ npm audit
    npm ERR! code ENOLOCK
    npm ERR! audit This command requires an existing lockfile.
    npm ERR! audit Try creating one first with: npm i --package-lock-only
    npm ERR! audit Original error: loadVirtual requires existing shrinkwrap file
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/barcmin/.npm/_logs/2023-05-15T08_22_33_776Z-debug-0.log
    barcmin@cloudron:~$ cloudron --help
    cloudron: command not found
    

    What I have to do?

    Thank you and regards,
    Lukas

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Not sure I understand what is wrong here. Are you using nodejs from your distribution or something like nvm?
      The npm commands would operate on the current folder, so are you in a git checkout from the cloudron-cli code?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lukas
        wrote on last edited by
        #3

        just logged into my VPS and wanted to install the Cloudron CLI

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          ah. The cli is actually not built to run on Cloudron itself, but it would interact with a Cloudron via REST api.

          Is there a specific use-case where you need it on the server?

          L 1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            The CLI has to be installed on your laptop/Mac and not your server.

            1 Reply Last reply
            0
            • nebulonN nebulon

              ah. The cli is actually not built to run on Cloudron itself, but it would interact with a Cloudron via REST api.

              Is there a specific use-case where you need it on the server?

              L Offline
              L Offline
              lukas
              wrote on last edited by
              #6

              @nebulon said in Cloudron CLI:

              ah. The cli is actually not built to run on Cloudron itself, but it would interact with a Cloudron via REST api.

              Is there a specific use-case where you need it on the server?

              I want to install the InfluxDB Package, I thought then via Cloudron CLI. So I have to install it on my Client, to install this package.

              1 Reply Last reply
              0
              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