init 003_test,
This commit is contained in:
22
003_test/001_desktop/01_test_seat/setup/001_nvm.sh
Normal file
22
003_test/001_desktop/01_test_seat/setup/001_nvm.sh
Normal 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"
|
15
003_test/001_desktop/01_test_seat/setup/run_all.sh
Normal file
15
003_test/001_desktop/01_test_seat/setup/run_all.sh
Normal 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"
|
Reference in New Issue
Block a user