Skip to content

Instantly share code, notes, and snippets.

@ashhitch
Forked from ColeMurray/bootstrap.sh
Created May 17, 2024 16:16
Show Gist options
  • Save ashhitch/bd4f152a4a9ec4e1f1b8791472837bb6 to your computer and use it in GitHub Desktop.
Save ashhitch/bd4f152a4a9ec4e1f1b8791472837bb6 to your computer and use it in GitHub Desktop.

Revisions

  1. @ColeMurray ColeMurray created this gist May 16, 2024.
    71 changes: 71 additions & 0 deletions bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,71 @@
    #!/bin/bash

    # Update and upgrade Homebrew
    echo "Updating Homebrew..."
    brew update
    brew upgrade


    # Install nvm (Node Version Manager)
    echo "Installing nvm..."
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

    echo "Installing rvm..."
    curl -o- curl -sSL https://get.rvm.io | bash

    PACKAGES=(
    android-platform-tools
    bison
    cocoapods
    cmake
    curl
    git
    jq
    kubectl
    libpq
    pyenv
    pyenv-virtualenv
    shared-mime-info
    tmux
    tree
    wget
    vim
    youtube-dl
    z
    zsh
    zsh-completions
    zsh-autosuggestions
    zsh-syntax-highlighting
    )

    brew install "${PACKAGES[@]}"

    CASKS=(
    android-studio
    google-chrome
    docker
    flycut
    homebrew/cask-drivers/nordic-nrf-connect
    mysqlworkbench
    pycharm
    pgadmin4
    qbittorrent
    react-native-debugger
    rubymine
    webstorm
    visual-studio-code
    virtualbox
    vlc
    )

    brew install --cask "${CASKS[@]}"

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"




    echo "Setting up zsh as the default shell..."
    chsh -s /bin/zsh

    echo "All tools installed successfully! Please restart your terminal to apply changes."