Last active
May 7, 2023 02:58
-
-
Save bsrz/5c94a98efd62f4be74e06a55aa176461 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ brew update | |
| $ brew install asdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source 'https://rubygems.org' | |
| gem 'cocoapods' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ bundle update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ bundle update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias be="bundle exec" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ be pod init | |
| $ be pod install | |
| $ be pod update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . /opt/homebrew/opt/asdf/libexec/asdf.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ruby -v | |
| ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ asdf list all ruby |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ asdf install ruby 3.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ asdf list ruby # list all the installed versions | |
| $ asdf global ruby 3.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ruby -v | |
| ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin21] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ gem install cocoapods | |
| Successfully installed cocoapods-1.11.2 | |
| Parsing documentation for cocoapods-1.11.2 | |
| Done installing documentation for cocoapods after 0 seconds | |
| 1 gem installed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ pod --help | |
| Usage: | |
| $ pod COMMAND | |
| CocoaPods, the Cocoa library package manager. | |
| Commands: | |
| + cache Manipulate the CocoaPods cache | |
| + deintegrate Deintegrate CocoaPods from your project | |
| + env Display pod environment | |
| + init Generate a Podfile for the current directory | |
| + install Install project dependencies according to versions from a | |
| Podfile.lock | |
| + ipc Inter-process communication | |
| + lib Develop pods | |
| + list List pods | |
| + outdated Show outdated project dependencies | |
| + plugins Show available CocoaPods plugins | |
| + repo Manage spec-repositories | |
| + search Search for pods | |
| + setup Setup the CocoaPods environment | |
| + spec Manage pod specs | |
| + trunk Interact with the CocoaPods API (e.g. publishing new specs) | |
| + try Try a Pod! | |
| + update Update outdated project dependencies and create new Podfile.lock | |
| Options: | |
| --allow-root Allows CocoaPods to run as root | |
| --silent Show nothing | |
| --version Show the version of the tool | |
| --verbose Show more debugging information | |
| --no-ansi Show output without ANSI codes | |
| --help Show help banner of specified command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment