Last active
October 19, 2025 23:24
-
-
Save lucataco/331cbad774d261b59ddd42dd2d1dc017 to your computer and use it in GitHub Desktop.
Clean Ubuntu Install - Machine Learning setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install Ubuntu 22.04 | |
| sudo apt-get update | |
| sudo apt-get upgrade -y | |
| # Install tools | |
| sudo apt install git htop btop | |
| # Install miniconda | |
| wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | |
| chmod +x Miniconda3-latest-Linux-x86_64.sh | |
| ./Miniconda3-latest-Linux-x86_64.sh | |
| conda update conda | |
| # Install nvitop | |
| conda install -c conda-forge nvitop | |
| # Install docker | |
| curl -fsSL https://get.docker.com | sh | |
| sudo usermod -aG docker $USER | |
| # Install cog | |
| sudo curl -o /usr/local/bin/cog -L "https://github.com/replicate/cog/releases/latest/download/cog_$(uname -s)_$(uname -m)" | |
| sudo chmod +x /usr/local/bin/cog | |
| # Install zsh | |
| sudo apt install zsh | |
| sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" | |
| cd .oh-my-zsh/plugins | |
| git clone https://github.com/zsh-users/zsh-autosuggestions | |
| git clone https://github.com/zsh-users/zsh-syntax-highlighting | |
| # Install nvm | |
| curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash | |
| nvm install --lts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment