<commit_before>### Before you run this script, make it executable: chmod +x 1_install-part-one.sh

echo
echo "Adding package repository for Git stable channel"
echo
sudo add-apt-repository ppa:git-core/ppa

echo
echo "Updating all packages"
echo
sudo apt update && sudo apt upgrade

echo
echo "Installing apt packages"
echo
sudo apt install build-essential
sudo apt install curl
sudo apt install file
sudo apt install git
sudo apt install neofetch
sudo apt install vim

echo
echo "Installing Node.js LTS using Node Version Manager"
echo
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
source ~/.bashrc
nvm install --lts
nvm use --lts

echo
echo "Installing Rust using rustup"
echo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

echo
echo "Installing bash-git-prompt"
echo
git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1
echo "
# configure and run bash-git-prompt
GIT_PROMPT_ONLY_IN_REPO=1
GIT_PROMPT_THEME=Single_line_Minimalist
source ~/.bash-git-prompt/gitprompt.sh" >> ~/.bashrc

echo
echo "Installing Homebrew"
echo
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.profile

echo
echo "Installing software with Homebrew"
echo
brew install bat
brew install nushell

source ~/.bashrc
source ~/.profile<commit_msg>Shuffle around the installation order on Linux<commit_after>### Before you run this script, make it executable: chmod +x 1_install-part-one.sh

echo
echo "Adding package repository for Git stable channel"
echo
sudo add-apt-repository ppa:git-core/ppa

echo
echo "Updating all packages"
echo
sudo apt update && sudo apt upgrade

echo
echo "Installing apt packages"
echo
sudo apt install build-essential
sudo apt install curl
sudo apt install file
sudo apt install git
sudo apt install neofetch
sudo apt install vim

echo
echo "Installing Homebrew"
echo
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.profile

echo
echo "Installing software with Homebrew"
echo
brew install bat
brew install nushell

echo
echo "Installing bash-git-prompt"
echo
git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1
echo "
# configure and run bash-git-prompt
GIT_PROMPT_ONLY_IN_REPO=1
GIT_PROMPT_THEME=Single_line_Minimalist
source ~/.bash-git-prompt/gitprompt.sh" >> ~/.bashrc

echo
echo "Installing Rust using rustup"
echo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

echo
echo "Installing Node.js LTS using Node Version Manager"
echo
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

source ~/.bashrc
source ~/.profile

nvm install --lts
nvm use --lts
{'fraction_non_alphanumeric': 0.12195121951219512, 'fraction_numerical': 0.005701615457713019, 'mean_word_length': 4.33445945945946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1979268', 'n_tokens_mistral': 1124, 'n_tokens_neox': 1042, 'n_words': 339}