build: Helpers to initially setup the dev env
This commit is contained in:
13
install-claude.sh
Normal file
13
install-claude.sh
Normal 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
35
install-depends.sh
Normal 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
11
install-nvm.sh
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user