This repository has been archived on 2025-12-01. You can view files and clone it, but cannot push or open issues or pull requests.
Files
wwww_3node_tenstorrent/install.sh
2025-07-24 09:38:35 +02:00

26 lines
722 B
Bash
Executable File

#!/bin/bash
cd "$(dirname "$0")"
# Check if pnpm is installed
if ! command -v pnpm &> /dev/null
then
echo "pnpm not found, installing using the universal installer..."
# Check if curl is installed
if ! command -v curl &> /dev/null
then
echo "curl not found. Please install curl first."
exit 1
fi
# Check if sh is available
if ! command -v sh &> /dev/null
then
echo "sh not found. This script requires a shell interpreter."
exit 1
fi
curl -fsSL https://get.pnpm.io/install.sh | sh -
echo "Please restart your terminal or run 'source ~/.bashrc' (or equivalent) to add pnpm to your PATH."
else
echo "pnpm is already installed."
fi
pnpm install