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

This comment has been minimized.

Copy link

commented Mar 31, 2016

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

@AdiSai

This comment has been minimized.

Copy link

commented Jul 15, 2016

-bash: android: command not found

hmm?

@kevalpatel2106

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link
Owner Author

commented Nov 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.