sudo apt update && sudo apt upgrade sudo apt install -y tmux neovim mosh zoxide starship git sudo apt install ca-certificates curl build-essential -y sudo install -m 0755 -d /etc/apt/keyrings # Install Node.js curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash - sudo apt install nodejs -y # Install Docker if user agrees read -p "Do you want to set up Docker? (Y/n): " SETUP_DOCKER if [[ "$SETUP_DOCKER" == "y" || "$SETUP_DOCKER" == "Y" || $SETUP_DOCKER == "" ]]; then $PWD/bin/setup_docker.sh fi # Install UFW after asking for permission read -p "Do you want to set up UFW (Uncomplicated Firewall)? (Y/n): " SETUP_UFW if [[ "$SETUP_UFW" == "y" || "$SETUP_UFW" == "Y" || $SETUP_UFW == "" ]]; then $PWD/bin/setup_ufw.sh fi $PWD/bin/setup_fast.sh $PWD/bin/setup_env.sh # Ask user if they want to start building Fast components now read -p "Do you want to start building Fast components now? (Y/n): " START_BUILD if [[ "$START_BUILD" == "y" || "$START_BUILD" == "Y" || $START_BUILD == "" ]]; then $PWD/bin/start_build.sh fi # Ask user if they want to install Gitea now for self-hosted git read -p "Do you want to set up Gitea (self-hosted git service)? (Y/n): " SETUP_GITEA if [[ "$SETUP_GITEA" == "y" || "$SETUP_GITEA" == "Y" || $SETUP_GITEA == "" ]]; then $PWD/bin/setup_gitea.sh fi sudo apt autoremove -y