- update
sudo apt install updates - Add user to sudoers
sudo usermod -aG sudo [username] - set up ruby and add user to rvm group https://github.com/rvm/ubuntu_rvm
sudo apt install ruby
...
sudo usermod -a -G rvm [username]`- Set default editor
sudo update-alternatives --config editor
If you get permission denied trying to access a shared folder in the VM, try:
sudo adduser $USER vboxsf
https://askubuntu.com/questions/7477/how-can-i-add-a-new-user-as-sudoer-using-the-command-line