Installing Yt

Add Yt to any bundled Ruby project by adding the line gem 'yt', '~> 0.29.1' to its Gemfile.

You can also install Yt in your system by opening the Terminal and typing gem install yt.

If you need to update version, type gem update yt, or run bundle update if inside a Ruby project.


Once Yt is installed, you can open the Terminal and type:

yt info

This will print out the version number and the annotation fetched from this YouTube video.

If you see the following message, congratulations! You are ready to start the tutorial.

Yt version 0.29.1
Hello, world!