Skip to content

Commit

Permalink
Add cheatsheet for gem
Browse files Browse the repository at this point in the history
  • Loading branch information
luathn committed Nov 6, 2020
1 parent a8054c0 commit 371e3cd
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions gem
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
tags: [ packaging ]
---
# To search for a package:
gem search <package>

# To install packages:
gem install <package>

# To install a package in user space:
gem install --user-install <package>

# To install specific version of a package:
gem install <package> -v <version>

# To uninstall packages:
gem uninstall <package>

# To upgrade a package:
gem update <package>

# To show details of a package:
gem info <package>

# To list local packages:
gem list --local

# To show help on command
gem help <command>

0 comments on commit 371e3cd

Please sign in to comment.