GstPipelineStudio/installer/macos/package_setup.sh
Stéphane Cerveau c236903665 macos: appdmg is not compatible with node v23.1.0
Use last working version v20
2024-11-09 15:54:46 +01:00

35 lines
555 B
Bash
Executable file

#!/bin/bash
HOMEBREW_NO_INSTALL_CLEANUP=1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"
brew update
brew install pkg-config
brew install glib
brew install m4
echo 'export PATH="/opt/homebrew/opt/m4/bin:$PATH"' >> ~/.zshrc
brew install bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
source ~/.nvm/nvm.sh
nvm install node
nvm install 20
nvm alias default 20
nvm install-latest-npm
npm install -g appdmg
exit 0