Fix node install and make mock_llm script executable

This commit is contained in:
2025-05-21 07:37:14 +02:00
parent cad8e17afd
commit 6c9d5f542b
3 changed files with 10 additions and 12 deletions

View File

@@ -53,18 +53,17 @@ if [ -z "${SIA_INSTALL_NO_ITB}" ]; then
google-chrome-stable
fi
# Install Rust
curl https://sh.rustup.rs -sSf | bash -s -- -y
export PATH="/root/.cargo/bin:${PATH}"
# Install Node.js
if [ -z "${SIA_INSTALL_NO_CORE}" ]; then
echo "Installing Node.js..."
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
export NVM_DIR=/root/.nvm
. "$NVM_DIR/nvm.sh" && nvm install node
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
fi
# Install Rust
curl https://sh.rustup.rs -sSf | bash -s -- -y
export PATH="/root/.cargo/bin:${PATH}"
# Install llama.cpp
cd /
curl -O https://git.nielsgeens.be/api/packages/llm/generic/llama.cpp/b5269/llama.cpp.tar