Skip to content

Instantly share code, notes, and snippets.

@secemp9
Last active March 24, 2026 15:32
Show Gist options
  • Select an option

  • Save secemp9/63c862b0a73fed6db6568405828b40c8 to your computer and use it in GitHub Desktop.

Select an option

Save secemp9/63c862b0a73fed6db6568405828b40c8 to your computer and use it in GitHub Desktop.
Full dev environment setup for general_wisdom monorepo & agentic_auxilary
#!/usr/bin/env bash
# Full dev environment setup for general_wisdom monorepo & agentic_auxilary
# Ubuntu/Debian
set -euo pipefail
# Rust toolchain 1.93.0
rustup install 1.93.0 && rustup default 1.93.0
# Cargo tools
cargo install cargo-nextest --version 0.9.72
cargo install cargo-deny
cargo install cargo-machete
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.3/cargo-dist-installer.sh | sh
# just (task runner)
cargo install just
# Node.js 22 via nvm
nvm install 22
# bun
curl -fsSL https://bun.sh/install | bash
# ShellCheck
sudo apt-get install -y shellcheck
# actionlint
curl -sSL https://github.com/rhysd/actionlint/releases/download/v1.7.9/actionlint_1.7.9_linux_amd64.tar.gz | tar -xz -C /tmp && sudo mv /tmp/actionlint /usr/local/bin/
# mergerfs + fuse (for thoughts CLI), ensure fuse group exists and add user
sudo apt-get install -y mergerfs libfuse-dev fuse && (getent group fuse > /dev/null || sudo groupadd fuse) && sudo usermod -aG fuse $USER
# GitHub CLI
sudo apt-get install -y gh
# Trivy
sudo apt-get install -y wget apt-transport-https gnupg && wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --dearmor | sudo tee /usr/share/keyrings/trivy.gpg > /dev/null && echo "deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb generic main" | sudo tee /etc/apt/sources.list.d/trivy.list && sudo apt-get update && sudo apt-get install -y trivy
# OpenTofu
curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh | sudo bash -s -- --install-method deb
# OpenCode (latest)
curl -fsSL https://opencode.dev/install | bash
cargo install release-plz
cargo install sccache
echo "Done! Log out and back in (or run 'newgrp fuse') for fuse group to take effect."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment