Last active
February 1, 2022 16:36
-
-
Save kaushikgopal/0a0397669fd00f96249b to your computer and use it in GitHub Desktop.
My morning cli ritual
This file contains 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
echo "y" | android update sdk --no-ui; echo "yes" | apm upgrade; softwareupdate -i -a; brew update; brew upgrade; brew cleanup; brew cask cleanup; npm update npm -g; npm update -g; gem update |
-bash: android: command not found
hmm?
@kaushikgopal Now it's time to switch to the sdkmanager
command line tool.
Updated command:
echo "y" | sdkmanager --update; echo "yes" | apm upgrade; softwareupdate -i -a; brew update; brew upgrade; brew cleanup; brew cask cleanup; npm update npm -g; npm update -g; gem update
Note: Don't forget to export sdkmanager
path in an environment variable.
for the latest one, look here -> https://gist.github.com/kaushikgopal/4a89a34511e5693bd1f4c60ab450fe72
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kaushikgopal Thanks for the useful script! @changetip $1