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

23 lines
341 B
Markdown

# 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}}`