My development environment setup (Part 1)

Jorge Ramón - Sep 24 '18 - - Dev Community

Last week at work I got a new project on .NET Framework. As a good developer I tried to run it on Linux using .NET Core but I failed and my work's laptop didn't had Windows installed, what could I do?.

So, I went running with the tech support area, told them the problem and after some research the only solution was: delete Linux, install Windows and install Linux again.

Fucking Windows. 😡

But that inspired to me to write this post.

This is what I consider a good environment to develop quick, easy and be coolest in the office. Don't judge me!

P.S.: I'm using Ubuntu 18.04 because why not? I had Fedora 27 before eveything happened and it's still my favorite but I will give Ubuntu a try again.

Let's get started!

1. Install essential tools

We need the basics, you will suffer if you don't have them:



sudo apt-get update
sudo apt-get install build-essential git curl xclip



Enter fullscreen mode Exit fullscreen mode

2. Install zsh

Zsh (also called Z shell) is an extended version of the Bourne Shell (sh). It has many cool features against original bash:

  • Plugin and theme support
  • Spelling correction
  • Automatic cd
  • And more!

Just install it with the follow command:



sudo apt-get install zsh


Enter fullscreen mode Exit fullscreen mode

3. Install Oh My Zsh

Now we have a good shell, great. But Oh My Zsh will give us extra power:

Then, just copy the follow command:



 sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"


Enter fullscreen mode Exit fullscreen mode

And you will get this:

4. Start using zsh by default

If you restart your terminal it will be using bash again. Why? because you need to change it explicitly with the follow command:



# Change the shell to zsh
chsh -s `which zsh`


Enter fullscreen mode Exit fullscreen mode

The bad thing is that you need to restart your computer 🙄.



# WARNING! It will shutdown immediately :(
sudo shutdown -r 0


Enter fullscreen mode Exit fullscreen mode

But after rebooting this will be the result 😍:

5. Install vim

It's time to get into hacker mode 👨‍💻 :

Just kidding.

In my experience, working with vim has been the best idea ever because:

  • It's lightweight
  • It's everywhere (even on Window's Git bash)
  • I feel that I write code faster
  • Don't even use the touchpad (or mouse)
  • I'm forced to learn things such as package names and understand they purpose
  • Syntax highlight for many programming languages
  • Shortcuts as Sublime Text or Visual Code Studio

So, why don't you give it a try?



sudo apt-get install vim


Enter fullscreen mode Exit fullscreen mode

This is the end for the part 1 😋.

In the next post I will cover:

  • Configure vim and add steroids
  • Fixing some vim weird errors
  • Mastering vim

See you on the next post!

Part 2: https://dev.to/jorge_rockr/my-development-environment-setup-part-2-4ck9

. . . . . . . .
Terabox Video Player