Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

IgorGanapolsky commented Mar 31, 2016

@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

kevalpatel2106 commented May 10, 2018

@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

kaushikgopal commented Nov 3, 2018

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