Skip to content

Instantly share code, notes, and snippets.

@miguelraz
Last active December 2, 2025 04:49
Show Gist options
  • Select an option

  • Save miguelraz/47ecea70269824f5898dddfdc7df4f11 to your computer and use it in GitHub Desktop.

Select an option

Save miguelraz/47ecea70269824f5898dddfdc7df4f11 to your computer and use it in GitHub Desktop.
# TODO: https://teejeetech.com/2025/08/14/debian_13_tips/
sudo apt install curl llvm clang -y
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# . "$HOME/.cargo/env" # For sh/bash/zsh/ash/dash/pdksh
#source "$HOME/.cargo/env.fish" # For fish
#source $"($nu.home-path)/.cargo/env.nu" # For nushell
# Install binstall from source :DDD
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
# Install all the Rusty goodnesses
cargo binstall -y du-dust fd-find ripgrep cargo-asm zoxide tokei bat tealdeer zellij ytop hyperfine ast-grep exa nu cargo-watch cargo-clean-recursive bacon
tldr --update &
# Install Zoxide
curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash
eval "$(zoxide init bash)"
echo 'eval "$(zoxide init bash)"' >> ~/.bashrc
# Install Zed
curl -f https://zed.dev/install.sh | sh &
# Install Julia
curl -fsSL https://install.julialang.org | sh
julia -e 'using Pkg; Pkg.add(["Chairmarks", "Revise", "JET", "UnicodePlots", "GLMakie", "BasicAutoloads", "DataFrames", "LanguageServer", "JET"]); using LanguageServer, JET' &
mkdir -p ~/.julia/config/
echo '
if isinteractive()
import BasicAutoloads
BasicAutoloads.register_autoloads([
["@b", "@be"] => :(using Chairmarks),
["@benchmark"] => :(using BenchmarkTools),
["@test", "@testset", "@test_broken", "@test_deprecated", "@test_logs",
"@test_nowarn", "@test_skip", "@test_throws", "@test_warn", "@inferred"] =>
:(using Test),
["pager"] => :(using TerminalPager),
])
end' > ~/.julia/config/startup.jl
# Mac
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >> /Users/mrg/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/mrg/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew install gh
# Mac XCode
xcode-select --install
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
# Install `gh` commandline - linux
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
&& out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \
&& cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
sudo apt update
sudo apt install gh
# Setup dirs
mkdir oss
mkdir work
cd oss
gh repo clone rust-lang/portable-simd
gh repo clone rust-lang/rust
gh repo clone bytecodealliance/wasmtime
gh repo clone julialang/julia
gh repo clone llvm/llvm-project
gh repo clone zed-industries/zed
# Git configs
git config --global pull.rebase true
git config --global push.autoSetupRemote true
git config --global merge.conflictstyle diff3
git config --global rerere.enabled true
git config --global core.editor "vim"
# Install Zulip
sudo curl -fL -o /etc/apt/trusted.gpg.d/zulip-desktop.asc \
https://download.zulip.com/desktop/apt/zulip-desktop.asc
echo "deb https://download.zulip.com/desktop/apt stable main" | \
sudo tee /etc/apt/sources.list.d/zulip-desktop.list
sudo apt update
sudo apt install zulip
# Install Slack
curl -fsSL https://downloads.slack-edge.com/slack-cli/install.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment