How to install the Ruby Gem spaghetti with the CLI

By Where is my Ruby Gem

Ruby
Gem
spaghetti

Run the command below to install the gem in the local repository.

gem install spaghetti