A collection of shell scripts to automate development environment setup on macOS and Ubuntu (ARM).
mac/
initial-setup.sh # macOS dev environment setup
vscode-setup.sh # VS Code extensions and settings
zshrc-template.sh # zsh config template for macOS
linux/
os-setup.sh # Ubuntu dev environment setup
setup-vscode-server.sh # VS Code Server extension installer for Ubuntu VM
zshrc-template.sh # zsh config template for Ubuntu
macOS:
cd mac
chmod +x initial-setup.sh
./initial-setup.sh
chmod +x vscode-setup.sh
./vscode-setup.sh
cp zshrc-template.sh ~/.zshrcUbuntu (ARM):
The Ubuntu script is ARM only and does not support AMD.
cd linux
chmod +x os-setup.sh
./os-setup.sh
cp zshrc-template.sh ~/.zshrc
# once you connect VSCode in the local machine to the VM via SSH, run setup-vscode-server.sh
chmod +x setup-vscode-server.sh
./setup-vscode-server.sh- Connect to the development server via SSH and do the development there: https://code.visualstudio.com/docs/remote/ssh
- Repositories will live in the VM and the repository manager.
- Podman will be used to run and build the code.
- Why: This way the main host is minimal and reduces the blast radius of potential supply chain attacks