diff --git a/bin/omarchy-install-dev-env b/bin/omarchy-install-dev-env index 5453e8d..1865992 100755 --- a/bin/omarchy-install-dev-env +++ b/bin/omarchy-install-dev-env @@ -33,6 +33,11 @@ install_php() { done } +install_node() { + echo -e "Installing Node.js...\n" + mise use --global node@lts +} + case "$1" in ruby) echo -e "Installing Ruby on Rails...\n" @@ -42,8 +47,7 @@ ruby) echo -e "\nYou can now run: rails new myproject" ;; node) - echo -e "Installing Node.js...\n" - mise use --global node@lts + install_node ;; bun) echo -e "Installing Bun...\n" @@ -64,6 +68,7 @@ php) laravel) echo -e "Installing PHP and Laravel...\n" install_php + install_node composer global require laravel/installer echo -e "\nYou can now run: laravel new myproject" ;;