Skip to content

Instantly share code, notes, and snippets.

@vivalareda
Last active February 1, 2025 04:55
Show Gist options
  • Save vivalareda/b15fef741b7d0f2a764d9d0647848a8e to your computer and use it in GitHub Desktop.
Save vivalareda/b15fef741b7d0f2a764d9d0647848a8e to your computer and use it in GitHub Desktop.
wsl auto install script
#!/bin/bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >> /home/lilflare/.bashrc
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/lilflare/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
source ~/.bashrc
sudo apt-get update
sudo apt-get install build-essential -y
sudo apt-get install npm -y
sudo apt install python3-pip -y
brew install gcc
brew install zsh
brew install chezmoi
chezmoi init https://github.com/vivalareda/.dotfiles.git
chezmoi apply -v
sudo chsh -s $(which zsh) $USER
zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment