Giter Club home page Giter Club logo

new-macbook's Introduction

New-Macbook

Setup scripts and links for web development on a new mac.

Homebrew

/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Iterm 2

brew cask install iterm2

Shell integration

You can enable better integration between your shell and iTerm2.

iTerm2 > Install Shell Integration

Then, add the following to your .zshrc: source ~/.iterm2_shell_integration.zsh.

Git

brew install git

Zsh

brew install zsh

Update default shell

  1. bash sudo vim /etc/shells
  2. Add new line: /usr/local/bin/zsh
  3. Run chsh -s /usr/local/bin/zsh
  4. Restart the terminal and run bash echo $SHELL and confirm it is zsh

Installing OhMyZsh

sh -c “$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
brew install romkatv/powerlevel10k/powerlevel10k
  • Add the following to .zshrc file:
  • source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme

ZSH syntx hightlighting

brew install zsh-syntax-highlighting

NVM

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

Restart the terminal and type command -v nvm to confirm it is installed

Node JS

nvm install node  #install latest version
nvm install 6.14.4 # or 10.10.0, 8.9.1, etc

Docker

brew cask install docker

tldr

brew install tldr

VSCode

brew cask install visual-studio-code

new-macbook's People

Contributors

timothy-yue avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.