Skip to content

Instantly share code, notes, and snippets.

@carloshpdoc
Last active February 21, 2023 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carloshpdoc/77e785287f7d2451ca57e3d5795779df to your computer and use it in GitHub Desktop.
Save carloshpdoc/77e785287f7d2451ca57e3d5795779df to your computer and use it in GitHub Desktop.
Fast Install Enviromment
# homebrew
if test ! $(which brew); then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
# update homebrew and package
brew update & brew upgrade
# install all packages
brew install git
brew install rbenv ruby-build
brew install go
brew install glide
brew install dep
brew install node
brew install yarn
brew install python3
brew install cocoapods
brew install carthage
brew install opencv
brew install mongodb
brew install mysql
brew install docker
brew install docker-compose
brew install youtube-dl
brew install serverless
brew install cf-cli
brew install ripgrep
brew cask install keycastr
brew install tig
pip install xUnique
gem install xcode-install
brew install --cask rectangle
brew install swiftlint
# remove outdated versions
brew cleanup
# run git setup // download here: https://gist.github.com/carloshpdoc/4c76483e163998a49aebd77cbb032ad6
chmod +x ./git_setup.sh
./git_setup.sh
# install all npm packages
npm i -g nodemon
npm i -g create-react-app
npm i -g gatsby-cli
# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# setup zsh
cp .zshrc ~/.zshrc
cp zsh_history ~/.zsh_history
# zsh-autosuggestions install. See https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
# Install zsh-syntax-highlighting. See https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
# theme powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# set zsh as default shell
sudo sh -c "echo $(which zsh) >> /etc/shells"
chsh -s $(which zsh)
# p10k configure theme
p10k configure
# tuist
curl -Ls https://install.tuist.io | bash
@carloshmartins
Copy link

Como faço para executar esse Script?

@carloshpdoc
Copy link
Author

carloshpdoc commented Apr 28, 2020

execute :
./script.sh

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