build: Helpers to initially setup the dev env

This commit is contained in:
2025-09-23 01:23:32 +02:00
parent c657094e08
commit 7bdc21d3ef
3 changed files with 59 additions and 0 deletions

13
install-claude.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
#
# install-claude.sh - install claude code
#
# USAGE
# run "./install-claude.sh" to make sure dependencies are satisfied
# claude code
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs

35
install-depends.sh Normal file
View File

@@ -0,0 +1,35 @@
#!/bin/sh
#
# install-depends.sh - apt install whatever needed to get going from wsl Ubuntu-24.04
#
# USAGE
#
# run "sudo ./install-depends.sh" to make sure dependencies are satisfied
# prepare
apt clean
apt update
apt upgrade
add-apt-repository universe
# basic tooling
apt install vim
apt install make
apt install git
# some more convenience
apt install tree
# python dev environment
apt install python3-pip
apt install python3-venv
apt install python3-full
apt install python3-pytest
apt install build-essential
# node dev environment
apt install nodejs
apt install npm

11
install-nvm.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
#
# install-nvm.sh - install current nvm for nodejs
#
# USAGE
# run "./install-nvm.sh" to make sure dependencies are satisfied
# node/nvm environment
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
nvm install --lts