Cloudron CLI on Windows
2 min read

Cloudron CLI on Windows

We are happy to announce initial support for the Cloudron CLI tool on Windows. The Cloudron CLI tool allows you to install, configure and test apps on your Cloudron.

If you already have Node.js installed on Windows, you can install the CLI tool using npm install -g cloudron. Otherwise, you can follow this step by step guide to install the CLI tool on Windows.

Install node.js on Windows

You can download node.js for Windows from here. Be sure to download a Node.js version greater that 4.2.

Launch the node.js command prompt

By default, the installer installs Node.js under C:\Program Files\node.js. You can either add the subdirectory bin to your default PATH or use the Node.js command prompt shortcut.

Install Cloudron CLI tool

The cloudron CLI tool can be installed using npm install -g cloudron.

Your environment has been set up for using Node.js 6.10.1 (x64) and npm.

C:\Users\Girish>npm install -g cloudron
C:\Users\Girish\AppData\Roaming\npm\cloudron -> C:\Users\Girish\AppData\Roaming\npm\node_modules\cloudron\bin\cloudron

> spawn-sync@1.0.15 postinstall C:\Users\Girish\AppData\Roaming\npm\node_modules\cloudron\node_modules\spawn-sync
> node postinstall

Test drive

You should now be able to login:

C:\Users\Girish>cloudron login
Cloudron Hostname: demo.cloudron.me

Enter credentials for demo.cloudron.me:
Username: cloudron
Password: ********
Login successful.

Try listing apps on your cloudron as follows:

C:\Users\Girish>cloudron list

Id                                    Location  Manifest Id                        State
------------------------------------  --------  ---------------------------------  -------
05e07250-1e3a-45c5-869a-00f85ad08dc4  mttrmst   org.mattermost.cloudronapp@0.8.0   running
1752eeaa-4995-4d75-ac08-139eace8434d  nvc       com.nextcloud.cloudronapp@0.4.0    running
2895f5ab-f310-46fd-aee3-062690e7337a  testes    org.tt_rss.cloudronapp@0.8.0       running
3cc158cb-89a7-476a-9b26-7f56fbce999a  piwik     org.piwik.cloudronapp@0.5.1        running
9d0857aa-8ae6-479a-9763-6b3c2036005f  opnprjct  org.openproject.cloudronapp@0.3.0  error
a5e0ee74-905d-46d7-9da9-1f79bc27b4ba  sogo3     nu.sogo.cloudronapp@0.4.0          running

To view the complete list of commands run cloudron help.