Skip to content

@coderaiser coderaiser released this Apr 25, 2017 · 1255 commits to master since this release

Terminal on Windows

Starting from this release gritty is integrated into Cloud Commander Windows Application based on electron.
You can find it in Downloads, it is called
Terminal can be opened with Shift + ~ and close it with Shift + Esc.

Add Terminal to middleware

You can use gritty as a terminal when you using Cloud Commander as middleware this way.

Install dependencies with:

npm i cloudcmd gritty express --save

And create app.js with content:

const http = require('http');
const cloudcmd = require('cloudcmd');
const io = require('');
const app = require('express')();

const port = 1337;
const prefix = '/cloudcmd';

const server = http.createServer(app);
const socket = io.listen(server, {
    path: `${prefix}/`

const terminal = true;
const terminalPath = 'gritty';

const config = {

    socket,  /* used by Config, Edit (optional) and Console (required)   */



  • (webpack) umd -> var: load editor before console
  • (edit-names) deepword: setMode
  • (terminal) config: terminal and terminalPath checked before set
Assets 4
You can’t perform that action at this time.