Setting Up Programming Environment for Linux Users

Goal of this article is to -

  1. Setting up Neovim editor
  2. Setting up VS Code editor (for general public)
  3. Setting up tmux
  4. At last sharing some helpful links

Neovim

If you don’t know vim then I highly suggest you to learn it. Neovim is just another variation of vim. That’s the editor I currently use actively and I love using it. From here I am assuming you’re inside your Linux distribution.

Open up you terminal and type this following command to install neovim.

sudo apt install neovim  // only debian/ubuntu users type thissudo pacman -S neovim    // only arch linux users type this

After the installation is completed, you can verify it by typing nvim in the terminal. It should open up a weird looking text editor into your terminal. If you know vim then good, and if you don’t know simply type :q to exit out of vim.

If you want to know how to configure vim go to the end of this article.

VS Code

VS code is text editor/IDE provided by Microsoft team. To install vscode in your linux follow these commands →

##### Debian/Ubuntu users type the following$ wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg$ sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/$ sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] $ https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'$ rm -f packages.microsoft.gpg$ sudo apt install apt-transport-https$ sudo apt update$ sudo apt install code
#### Arch Linux users type the following$ sudo pacman -S code

At this moment you can verify the installation by typing code in your terminal or just searching vscode from your app menu.

Tmux

Tmux is terminal multiplexer that allows you to get side panes, sessions, windows etc. I always use it when I need to run a server in background and code in the foreground. To install tmux follow these commands →

#### Debian/Ubuntu users follow this$ sudo apt install tmux
#### Arch Linux users follow this$ sudo pacman -S tmux

Helpful Links

If you liked the article give it a clap and consider following me. With ❤️ from India 🇮🇳.

--

--

Increasing my knowledge by sharing it.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store