Cloudron CLI
-
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 -
The CLI has to be installed on your laptop/Mac and not your server.
-
@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.