Hyper is extremely extensible with plugins that achieve awesome things like new tool lists, tabs and so on.
Hyper terminal is not available in the official package repository of CentOS 8 but you can download it from the official website of Hyper terminal and install it on CentOS 8 very easily.
Open your browser and visit the official website of Hyper terminal https://hyper.is/, then click on Download.
Click on the AppImage download link.
Your browser should prompt you to save the Hyper AppImage file. Click on Save File. Wait to complete.
– Install Hyper terminal dependencies
Hyper AppImage depends on libXss.so.1. It may not be available on your CentOS 8 machine. libXss.so.1 is available in the libXScrnSaver package. So, make sure you have libXScrnSaver package installed on your CentOS 8 machine.
You can install libXScrnSaver package using DNF package manager as follows:
$ sudo dnf install libXScrnSaver
Press Y to confirm the installation and then press Enter.
libXScrnSaver should be installed.
– Install Hyper terminal
After Hyper AppImage is downloaded and libXScrnSaver is installed, navigate to the ~/Downloads directory as follows:
$ cd ~/Downloads
As you can see, the Hyper AppImage file hyper-3.0.2-x86_64.AppImage is there.
$ ls -lh
Add execute permission to the Hyper AppImage file hyper-3.0.2-x86_64.AppImage as follows:
$ chmod +x hyper-3.0.2-x86_64.AppImage
Next, you will have to move the Hyper AppImage file to somewhere safe so you won’t accidentally delete it.
We will put it in the Hyper AppImage file in ~/.local/apps/ directory, which should be a safe enough directory.
First, use the following command to create the directory ~/.local/apps/:
$ mkdir ~/.local/apps
Secondly, move the Hyper AppImage to the newly create directory ~/.local/apps/ with the following command:
$ mv -v hyper-3.0.2-x86_64.AppImage ~/.local/apps/
The Hyper AppImage file should be moved to the newly created directory.
Now, run Hyper AppImage app as indicated:
You will be asked on the first run whether you want to create a desktop shortcut for easily accessing Hyper terminal later. Click on Yes.
Hyper terminal should start.
– Start Hyper terminal
After Hyper terminal was installed, you can start Hyper terminal from the Application Menu of CentOS 8.
Hyper terminal should start.
You can run any command you like on Hyper terminal as you usually do in other terminal apps. No difference there.
– Hyper Terminal Configuration File
Hyper terminal configuration file is in the path ~/.hyper.js
Open Hyper terminal and click on the hamburger menu in order to configure Hyper terminal.
Then, go to Edit > Preferences…
Open Hyper configuration file ~/.hyper.js with your default text editor. It is a JSON file, very self-explanatory and which you should be able to configure it very easily.
– Install Rainglow themes on Hyper terminal
Rainglow has a collection of over 320 synax color themes. Rainglow officially supports Hyper terminal. Rainglow plugin can be easily installed on Hyper terminal.
Install Git using the following command:
$ sudo dnf install git
Confirm the installation by pressing Y and then press Enter.
Git should be installed.
Next, navigate to the local plugins directory of Hyper terminal as follows:
$ cd ~/.hyper_plugins/local
Then, clone the Rainglow Hyper git repository using the following command:
$ git clone https://github.com/rainglow/hyper.git rainglow
The Rainglow Git repository should be cloned.
A new directory rainglow/ should be created.
Open the Hyper configuration file ~/.hyper.js and scroll to the end of the configuration file. Find the localPlugins parameter and add rainglow there.
Then go to the top of the configuration file and after the updateChannel property, add a new property rainglow.
The format of the rainglow property:
Here we’ve set the peacock theme.
All the themes are saved in the ~/.hyper_plugins/local/rainglow/colors directory.
$ ls ~/.hyper_plugins/local/rainglow/colors
Go to official website Rainglow Preview at https://rainglow.io/preview/ to find out how each theme looks like. Every Rainglow theme has 3 variants: Normal (Dark), Light, Contrast.
For example, if we take the Earthsong theme. You can find the theme file name (in our case Earthsong) using grep as follows:
$ ls ~/.hyper_plugins/local/rainglow/colors/ | grep earth
This theme has 3 files earthsong-contrast.js (Contrast variant), earthsong.js (Normal variant) and earthsong-light.js (Light variant).
To set the earthsong.js theme file on Hyper terminal, set the rainglow parameter to earthsong (without the .js extension).
Similarly, to set the earthsong-light.js theme, set rainglow parameter to earthsong-light.
Likewise, to set the earthsong-contrast.js theme, set rainglow parameter to earthsong-contrast as you can see in the screenshot below.
And this is how you can install Hyper terminal on CentOS 8!