A one-command script to set up your development environment on a new Linux machine or MacBook Pro.
Run this directly from GitHub without cloning:
curl -sSL https://raw.githubusercontent.com/zdevtool/zdevtool_init_script/main/setup_dev_env.sh | bashOr download first, then execute:
curl -sSL https://raw.githubusercontent.com/zdevtool/zdevtool_init_script/main/setup_dev_env.sh -o setup_dev_env.sh
chmod +x setup_dev_env.sh
./setup_dev_env.shThe script will:
- Detect your OS - Automatically identifies whether you're running macOS or Linux
- Update system packages - Updates and upgrades your system packages
- Interactive installation - Asks you for each component whether you want to install or skip
- curl - Command-line URL transfer tool
- git - Version control system
- zsh - Z shell
- oh-my-zsh - Zsh framework with plugins (zsh-syntax-highlighting, zsh-autosuggestions)
- tmux - Terminal multiplexer
- python3 - Latest Python 3 and pip
- node.js - Latest LTS version
- htop - Interactive process viewer
- vim - Text editor
-
Clone or copy this repository to your new machine:
git clone https://github.com/zdevtool/zdevtool_init_script.git cd zdevtool_init_script -
Run the script:
./setup_dev_env.sh
-
Follow the prompts - the script will ask you:
- Whether to update/upgrade system packages
- Whether to install each component (Y/n for each)
-
Enter your password when prompted (for sudo access)
- macOS or Linux
- Internet connection
- Sudo/admin privileges
- macOS: Homebrew
- Linux: apt-get, dnf, yum, pacman, zypper
- The script checks if each tool is already installed and skips it if present
- You'll need to restart your shell after oh-my-zsh installation for changes to take effect
- The script is safe to run multiple times - it will only install missing components