Skip to content

Instantly share code, notes, and snippets.

@kaushikgopal
Last active February 1, 2022 16:36
Show Gist options
  • Save kaushikgopal/0a0397669fd00f96249b to your computer and use it in GitHub Desktop.
Save kaushikgopal/0a0397669fd00f96249b to your computer and use it in GitHub Desktop.
My morning cli ritual
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
@IgorGanapolsky
Copy link

@kaushikgopal Thanks for the useful script! @changetip $1

@AdiSai
Copy link

AdiSai commented Jul 15, 2016

-bash: android: command not found

hmm?

@kevalpatel2106
Copy link

@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.

@kaushikgopal
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment