mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-26 22:59:57 +00:00
21 lines
384 B
Bash
Executable File
21 lines
384 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
install_node() {
|
|
echo "Installing node..."
|
|
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
|
|
|
|
source "$HOME"/.bashrc
|
|
|
|
nvm install --no-progress 16
|
|
}
|
|
|
|
install_rust() {
|
|
echo "Installing rust..."
|
|
curl https://sh.rustup.rs -sSf | bash -s -- -y
|
|
export PATH="$PATH:/root/.cargo/bin"
|
|
}
|
|
|
|
install_node
|
|
install_rust |