My preferred Os of choice is Linux, and with that, I often spend quite a lot of time setting up my environment. After 'distro' hopping, PopOS is my distro of choice. My bare minimum includes:
. Node & npm
. Ruby & rails via RVM(version manager for all things ruby)
. Atom text editor
This installation guide assumes you are using a Debian/Ubuntu-based Linux distro.
before you start it's helpful to update your package information and do any necessary upgrades.
$ sudo apt-get update $ sudo apt-get upgrade
Installing Git is as simple as running the install command and setting up your global user.
apt-get install git
To configure your profile run the following:
$ git config --global user.name "John Doe" $ git config --global user.email "firstname.lastname@example.org"
To keep this setup minimal, I'll be installing the distro-stable versions for Ubuntu. Run
$ sudo apt install nodejs
$ sudo apt install npm
RVM's official installation guide is the best source to use when installing RVM. It even offers a few diffent install options.
After installing GPG keys with this:
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
You can choose any of the basic installs. I go for the "Poor man's Rails installer"
\curl -sSL https://get.rvm.io | bash -s stable --rails
\curl -sSL https://get.rvm.io | bash -s stable --ruby
This installs the latest stable version of Ruby and Rails.
After everything is finished installing, restart your terminal.
Check to see if you currently have Sqlite installed with
$ sqlite3 ---version
If you don't get a version number, install it with
$ sudo apt install sqlite3
The default text editors don't usually do it for me so I'll end up installing Atom instead.