mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-27 07:09:57 +00:00
This will start publishing `@lancedb/lancedb` with the new nodejs package on our releases.
22 lines
385 B
Bash
Executable File
22 lines
385 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
|