Skip to content

About

devsetup: set up a fresh Mac, Linux or Windows computer with one command, including dev tools, apps and drivers.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

devsetup

Set up a fresh computer with one command: dev tools, apps and drivers.

macOS / Linux

curl -fsSL https://raw.githubusercontent.com/aaryanbindage/New-Device-setup/main/install.sh | bash

Windows (PowerShell)

irm https://raw.githubusercontent.com/aaryanbindage/New-Device-setup/main/install.ps1 | iex

You get an interactive checklist (toggle items by number, press Enter to install). Each step runs on its own, so one failure doesn't stop the rest. A summary and "next steps" list prints at the end.

What gets installed

Group Item macOS / Linux Windows
system upgrade apt/dnf/pacman/brew upgrade winget upgrade --all
core git git Git for Windows
core build build-essential / base-devel / Xcode CLT —
core basics curl wget zip unzip htop tmux jq tree 7-Zip, jq
core terminal — Windows Terminal, PowerShell 7
dev nvim Neovim (latest release tarball on Debian/Ubuntu) Neovim
dev shelltools ripgrep fzf fd bat ripgrep fzf fd bat
dev gh GitHub CLI GitHub CLI
dev node Node LTS via nvm Node.js LTS
dev python python3, pip, venv, pipx Python 3.14
dev wsl/ubuntu — WSL 2 (+ optional Ubuntu)
dev docker Docker Engine + Compose / Docker Desktop (mac) Docker Desktop
apps vscode VS Code (Microsoft repo) VS Code
apps chrome Chrome (Chromium on ARM/Arch) Chrome
apps firefox, vlc optional optional (+ powertoys)
system drivers ubuntu-drivers, RPM Fusion + NVIDIA akmod, Arch nvidia-open, macOS updates Windows Update drivers, Dell/Lenovo/HP/Intel update tool, NVIDIA/AMD links
system firmware fwupd (Linux) —
system winupdate — all Windows updates (optional)
system gitconfig asks for name/email, init.defaultBranch main same, plus core.autocrlf

Supported: macOS (Intel + Apple Silicon), Ubuntu/Debian/Mint/Pop!_OS, Fedora, Arch/Manjaro, Windows 10/11.

Options

# bash: pass flags after `bash -s --`
curl -fsSL .../install.sh | bash -s -- --yes --skip docker,chrome
curl -fsSL .../install.sh | bash -s -- --only core,dev --add vlc
curl -fsSL .../install.sh | bash -s -- --dry-run
# PowerShell: scriptblock form takes parameters...
& ([scriptblock]::Create((irm .../install.ps1))) -Yes -Skip docker,chrome
# ...or set env vars and use plain irm | iex
$env:DEVSETUP_ONLY='core,dev'; $env:DEVSETUP_YES='1'; irm .../install.ps1 | iex
bash PowerShell env var meaning
--yes -Yes DEVSETUP_YES=1 skip the interactive picker
--all -All DEVSETUP_ALL=1 select everything, including optional items
--only L -Only L DEVSETUP_ONLY select only these keys/groups
--add L -Add L DEVSETUP_ADD add to the default selection
--skip L -Skip L DEVSETUP_SKIP remove from the selection
--dry-run -DryRun DEVSETUP_DRYRUN=1 show the selection and exit
--list -List print the catalog

L is a comma-separated list of item keys or group names (system, core, dev, apps).

Publishing

  1. Keep the repo public so the raw URLs work without auth.
  2. If you fork or rename it, update the URLs in install.sh, install.ps1 ($DevSetupUrl) and this README.
  3. Optional: put a short URL in front of the raw files so the command is easier to type.

Adding a tool

  • bash: add a line to CATALOG in install.sh (group|key|default|platforms|description) and a step_<key> function. Use pkg "$(pick <apt> <dnf> <pacman> <brew>)" for plain packages.
  • PowerShell: add an entry to $Catalog with Winget=@('Publisher.Package'). Find IDs with winget search <name>.

Logs are written to $TMPDIR/devsetup-*.log (or %TEMP%\devsetup-*.log on Windows).

About

devsetup: set up a fresh Mac, Linux or Windows computer with one command, including dev tools, apps and drivers.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages