1. Home
  2. Linux

How to set up the WebStorm JavaScript IDE on Linux

Webstorm is an IDE for Javascript, CSS, and HTML. It has many useful features such as code completion, code analysis that gives you feedback, and much more. In this guide, we will show you how to install Webstorm on Linux.

Note: Webstorm is not a free program. It comes with a 30-day free trial. To take full advantage of the features it offers, you must buy a license here.

Ubuntu installation instructions

There are a few ways to get Webstorm up and running on Ubuntu Linux. There’s a Snap, there is a Flatpak and a generic Linux binary. There’s also an unofficial Ubuntu PPA. In this guide, we’ll focus on the unofficial PPA.

To start the installation of Webstorm via the unofficial PPA, you must install the Curl application. It is required to set up the PPA, but it does not come pre-installed on Ubuntu.

sudo apt install curl

Once the Curl app is up and running, use the following curl command to set up the PPA’s key on your system. This key will allow you to interact with the PPA securely.

curl -s https://s3.eu-central-1.amazonaws.com/jetbrains-ppa/0xA6E8698A.pub.asc | sudo apt-key add -

After adding the key to the system, use the following echo command to add the Webstorm unofficial PPA to your system.

echo "deb http://jetbrains-ppa.s3-website.eu-central-1.amazonaws.com bionic main" | sudo tee /etc/apt/sources.list.d/jetbrains-ppa.list > /dev/null

When the PPA is added to your Ubuntu PC, run the update command to refresh your software sources. Refreshing software sources will set up the PPA and make it possible to install Webstorm.

sudo apt update

Following the update command, you will be able to install the latest Webstorm with the following apt install command in a terminal window.

sudo apt install webstorm

Debian installation instructions

There are quite a few ways to get Webstorm on Debian, much like Ubuntu. In this guide, we’ll focus on the Ubuntu PPA, as it works fine on Debian 10.

To start the installation of Webstorm on Debian, install the Curl application. Curl is required to install the PPA key, and it is not installed on some Debian operating systems.

sudo apt-get install curl

After setting up the Curl app, run the curl command below to download and set up the PPA’s key. This key is essential and without it, you will not be able to interact with the PPA in Apt-get.

curl -s https://s3.eu-central-1.amazonaws.com/jetbrains-ppa/0xA6E8698A.pub.asc | sudo apt-key add -

Following the key, you must enable add the PPA repo URL to Debian’s software sources. Using the following echo command, add the repo URL to your system.

echo "deb http://jetbrains-ppa.s3-website.eu-central-1.amazonaws.com bionic main" | sudo tee /etc/apt/sources.list.d/jetbrains-ppa.list > /dev/null

Now that the PPA URL is set up on your Debian system, you will need to run the update command. Updating Debian will refresh it’s software sources, allowing you to access it to install the latest Webstorm.

sudo apt-get update

With the update command run, the PPA is ready to use. From here, you’ll be able to install Webstorm on Debian with the following command.

sudo apt-get install webstorm

Arch Linux installation instructions

If you’re an Arch Linux user, the easiest way to install the Webstorm application is by grabbing it through the AUR. To start the installation, open up a terminal window and use the pacman command to install both the “Git” and “Base-devel” packages. These packages are required to interact with the AUR.

sudo pacman -S git base-devel

After installing the “Git” and “Base-devel” packages on your computer, use the git clone command to download the Trizen AUR helper. Trizen will make it much easier to install the Webstorm application, as it installs dependencies automatically.

git clone https://aur.archlinux.org/trizen.git

Install the Trizen app with the makepkg command.

cd trizen
makepkg -sri

Now that the Trizen app is set up, you can use the trizen -S command to quickly install Webstorm on your Arch Linux PC.

trizen -S webstorm

Flatpak installation instructions

Webstorm is installable as a Flatpak. To start the installation of Webstorm via Flatpak, you must install the Flatpak runtime on your computer. To do that, open up a terminal window and follow our guide on how to set up the Flatpak runtime.

Once you’ve installed the Flatpak runtime on your computer, the installation of Webstorm can begin. Using the following commands, get the app working on your system.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

flatpak install flathub com.jetbrains.WebStorm

Snap package installation instructions

Webstorm is available as a Snap. So, if you love to use Snaps, here’s how to set it up. First, follow our guide on how to set up the Snapd runtime. You’ll need to install it and set it up to be able to use Snap packages on Linux.

After setting up the Snapd runtime on your computer, make use of the snap install command below to get the latest release of Webstorm for Linux.

sudo snap install webstorm --classic

Generic Linux

Want to get your hands on the generic Linux package for Webstorm? Head over to this page here, download the TarGZ archive, extract it and run the included installation script.

 

Leave a Reply

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.