Skip to content

Instantly share code, notes, and snippets.

@Praful932
Last active October 4, 2025 06:49
Show Gist options
  • Select an option

  • Save Praful932/246173142223a0495565dcb7b163ab5d to your computer and use it in GitHub Desktop.

Select an option

Save Praful932/246173142223a0495565dcb7b163ab5d to your computer and use it in GitHub Desktop.
Runpod env setup
#!/bin/bash
# run pod command
# bash -c 'curl -s https://gist.githubusercontent.com/Praful932/246173142223a0495565dcb7b163ab5d/raw/53e5e750b3deb261538124aac34c5f40afb63af6/run_pod_setup.sh | bash && source /start.sh'
# source <(curl -s https://gist.githubusercontent.com/Praful932/246173142223a0495565dcb7b163ab5d/raw/db3d18b697ffd65a1ddff3f4de7f6535b9070ac5/run_pod_setup.sh)
# Step 1: Create a directory for Miniconda
mkdir -p ~/miniconda3
# Step 2: Download Miniconda installer script
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
# Step 3: Install Miniconda silently without manual intervention
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
# Step 4: Clean up the installer script
rm -rf ~/miniconda3/miniconda.sh
# Step 5: Add Miniconda to PATH temporarily for this script
# Note: Replace "conda_path" with the actual path if it's different.
export PATH="~/miniconda3/bin:${PATH}"
curl -sSL https://install.python-poetry.org | python3 -
echo 'export PATH="$HOME/miniconda3/bin:$HOME/.local/share/pypoetry/venv/bin/:$PATH"' >> ~/.bashrc
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment