Setting Up Programming Environment for Linux Users
Goal of this article is to -
- Setting up Neovim editor
- Setting up VS Code editor (for general public)
- Setting up tmux
- 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 🇮🇳.