1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 06:18:17 +01:00
tldr/pages/common/gem.md
2016-01-08 09:38:59 +01:00

341 B

gem

Interact with the package manager for the Ruby programming language.

  • Install latest version of a gem:

gem install {{gemname}}

  • Install specific version of a gem:

gem install {{gemname}} -v {{1.0.0}}

  • Update a gem:

gem update {{gemname}}

  • List all gems:

gem list

  • Uninstall a gem:

gem uninstall {{gemname}}