A cross-platform dependency installation script for Node.js, npx, and uv.
- Linux (Ubuntu, AlmaLinux/CentOS, Alpine)
- macOS
- Windows
# Download the installation script
curl -O https://raw.githubusercontent.com/yourusername/mcp-depedencies-install/main/install_dependencies.sh
# Make the script executable
chmod +x install_dependencies.sh
# Run the installation script
./install_dependencies.sh
# Download the installation script
curl -O https://raw.githubusercontent.com/yourusername/mcp-depedencies-install/main/install_dependencies.sh
# Make the script executable
chmod +x install_dependencies.sh
# Run the installation script
./install_dependencies.sh
# Download the installation script
curl -O https://raw.githubusercontent.com/yourusername/mcp-depedencies-install/main/install_dependencies.sh
# Make the script executable
chmod +x install_dependencies.sh
# Run the installation script
./install_dependencies.sh
# Download the installation script
curl -O https://raw.githubusercontent.com/yourusername/mcp-depedencies-install/main/install_dependencies.sh
# Make the script executable
chmod +x install_dependencies.sh
# Run the installation script
./install_dependencies.sh
# Download the installation script
curl -O https://raw.githubusercontent.com/yourusername/mcp-depedencies-install/main/install_dependencies.sh
# Make the script executable (if using Git Bash or WSL)
chmod +x install_dependencies.sh
# Run the installation script
./install_dependencies.sh
curl
andsudo
installed on your system- For Ubuntu/Debian:
apt-get
package manager - For AlmaLinux/CentOS:
dnf
oryum
package manager - For Alpine:
apk
package manager
curl
installed on your system- Homebrew (will be installed automatically if not present)
- Windows Package Manager (winget) installed
- Git Bash, WSL, or PowerShell for running the script
The script will install the following dependencies:
- Node.js (v22.x LTS)
- npx (v10.x)
- uv (v0.6.x)
To test the installation script across different environments:
# Make the test script executable
chmod +x test_dependencies.sh
# Run the tests
./test_dependencies.sh
This will test the installation script in Docker containers simulating:
- Ubuntu
- AlmaLinux (CentOS)
- Alpine Linux
- macOS
- Windows
- The script requires sudo privileges on Linux systems
- After installation, you may need to restart your terminal for PATH changes to take effect
- For Linux and macOS users, the script will automatically add the local bin directory to your PATH
- Windows users should ensure they have the Windows Package Manager (winget) installed before running the script
[Your License Here]