Are you tired of using Desktop IDE and looking for a browser-based Code editor for your projects on Linux / macOS?. Monaco Editor is the code editor written in Node.js and it powers VS Code. You can read more about features of Monaco Editor from the official project website.

Monaco Editor is licensed under the MIT License and has support for Chrome, Safari, Firefox, IE 11, Edge and Opera. It can be easily installed on any Linux system provided Node.js is present on the host system.

Installing Monaco Editor – Browser based Code Editor on Linux

Before installing Monaco Editor, you need to have Node.js installed. The following guides should help with the installation of Node.js on your Linux.

How to Install Node.js 10 LTS on RHEL 8

Installing Node.js on Ubuntu 18.04 / 16.04 / Debian 9

Installing Node.js LTS on CentOS 7 / Fedora 29 / Fedora 28

Once you have Node.js installed, run the following command to download and install Monaco Editor

$ git clone https://github.com/Microsoft/monaco-editor.git

Install required Node packages

$ cd monaco-editor/
$ npm install .
added 446 packages from 674 contributors and audited 1496 packages in 58.347s
found 5 vulnerabilities (1 low, 4 high)
run npm audit fix to fix them, or npm audit for details

Then start simpleserver with:

$  npm run simpleserver
> [email protected] simpleserver /home/jmutai/monaco-editor
> gulp simpleserver

[20:30:02] Using gulpfile ~/monaco-editor/gulpfile.js
[20:30:02] Starting 'generate-test-samples'...
[20:30:02] Finished 'generate-test-samples' after 36 ms
[20:30:02] Starting 'simpleserver'...
LISTENING on 8080 and 8088

Access Monaco Editor websites on  http://localhost:8080/monaco-editor/website/

monaco editor

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!


As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.

LEAVE A REPLY

Please enter your comment!
Please enter your name here