init 003_test,

This commit is contained in:
2025-05-16 11:13:50 +08:00
parent 3e3e23aa68
commit 2371e40ad2
59 changed files with 1937 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -e
echo "**** install nvm ****"
# Download and install Node.js (you may need to restart the terminal)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
source ~/.nvm/nvm.sh
nvm install 20
nvm alias default 20
nvm use default
npm install -g yarn
echo "source ~/.nvm/nvm.sh" >>~/.bashrc
echo "install nvm done"

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -ex
# ls -1 /setup/0*.sh | while read script; do
# echo "Running $script"
# bash "$script" &
# done
/setup/001_nvm.sh
sudo /setup/002_google_chrome.sh
wait
echo "done"