For my purpose, I use bun, though npm, yarn and pnpm (for node) are also supported
bun create astro@latest
You'll be pleasently surprised by a helpful control center
# nvm auto-switch node version | |
autoload -U add-zsh-hook | |
load-nvmrc() { | |
local node_version="$(nvm version)" | |
local nvmrc_path="$(nvm_find_nvmrc)" | |
if [ -n "$nvmrc_path" ]; then | |
local nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")") |