Cloud Commander – Web File Manager to Control Linux File and Programs via Browser

Cloud Commander (cloudcmd) is a simple open source, traditional yet useful cross-platform web file manager with console and editor support.

It is written in JavaScript/Node.js and enables you manage a server and work with files, directories and programs in a browser from any computer, mobile or tablet.

Features

It offer some cool features:

  • Client works in web browser.
  • It’s server can be installed in Linux, Windows, Mac OS and Android (with help of Termux).
  • Enables you to view images, text files, playing audio and videos from within a browser.
  • Can be used local or remotely.
  • Supports adapting to screen size.
  • Offers Console with support of default OS command line.
  • Ships in with 3 built-in editors with support of syntax highlighting, which include: Dword, Edward and Deepword.
  • It also supports optional authorization.
  • Offers hot/shortcut keys.

How to Install Cloud Commander in Linux

First, install the latest version of node.js with the instructions below.

On Debian/Ubuntu/Linux Mint

$ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

-------- For Node.js v7 Version -------- 
$ curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
$ sudo apt-get install -y nodejs 

On RHEL/CentOS/Fedora

$ curl - -silent - -location https://rpm.nodesource.com/setup_6.x | bash -

-------- For Node.js v7 Version -------- 
$ curl - -silent - -location https://rpm.nodesource.com/setup_7.x | bash -
$ yum -y install nodejs
$ dnf -y install nodejs [Fedora 22+]

On Gentoo and Arch Linux

$ emerge nodejs         [On Gentoo]
$ pacman -S nodejs npm  [On Arch Linux]

Once you have installed nodejs and npm packages, next, install cloud commander file manager with the following command with root permissions:

$ npm i cloudcmd -g
OR
$ npm i cloudcmd -g --force

How to Use Cloud Commander in Linux

To start it, simply run:

$ cloudcmd

By default, Cloud Commander reads configurations in ~/.cloudcmd.json if no command options are set. It uses port 8000, in case the port variables PORT or VCAP_APP_PORT don’t exist.

You can start using it by opening the URL in your browser:

http://SERVER_IP:8000
Cloud Commander File Manager

Cloud Commander File Manager

View File Menu

To view menu; file operation options, simply select the file and right click on it, you’ll view the options shown in the screen shot below.

Cloud Commander File Menu

Cloud Commander File Menu

View Files and Directories

To open it with a single panel, use the --one-panel-mode flag or simply resize the browser interface:

$ cloudcmd --one-panel-mode

The screenshot below shows viewing of an image file.

Cloud Commander File Preview

Cloud Commander File Preview

Edit Files in Browser

The following screenshot shows opening a script file for editing.

Cloud Commander Edit Files

Cloud Commander Edit Files

Access Linux Terminal from Browser

Press ~ button to open the Linux terminal or console.

Linux Commander Web Console

Linux Commander Web Console

Terminal Interface

By default, the terminal is disabled and not installed, to use it you should install gritty as follows with root user privileges:

$ npm i gritty -g

Then set the path of a terminal and save configuration like so:

$ cloudcmd --terminal --terminal-path "gritty --path here" --save

Update Cloud Commander

To update Cloud Commander use this command:

$ npm install cloudcmd -g

Use Hot/Shortcut Keys.

  • F1 – View help
  • F2 – Rename a file
  • F3 – View a file
  • F4 – Edit a file
  • F5 – Copy a file
  • F6 – Move a file
  • F7 – Create a new directory
  • F8 – Delete a file
  • F9 – Open menu
  • F10 – View file configurations/permissions plus many more.

You can run this for help:

$ cloudcmd --help

You can find a comprehensive usage guide and configuration information at https://cloudcmd.io/.

In this article, we reviewed Cloud Commander, a simple traditional yet useful web file manager with console and editor support for Linux. To share your thoughts with us, make us of the comment form below. Have you come across any similar tools out there? Tell us as well.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

8 Responses

  1. Daniel says:

    Is there a way to set default paths to the two panels so they always start at the same place in the directory tree?

  2. Tosko says:

    How do I set an authentication?

    I did nano ~/.cloudcmd.json and modified username and password with authentication set to true. I put in the details but the login keeps prompting.

    When I press esc, it says 401 unauthorized which is good.

    So I went to the json file, but it back to false, and it worked again. I tried to enable Auth via the UI, (F10 settings), again login prompt and keeps prompting. Any idea what I am doing wrong?

  3. Robert says:

    I installed it to try it out. Insteresting way to browse the filesystem. How do I uninstall the npm package?

  4. Jalal says:

    Hi, Thanks for this article, good for console users.

  5. Nick says:

    What about security?
    It works via plain http ?

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.