This script automates the setup and restoration of your Debian development environment, including configuration files, essential packages, and development tools.
- Logging: Provides informative and error logs during execution.
- Backup Management: Restores backups of configuration files and maintains version control.
- Neovim Installation: Installs Neovim and adds it to your system PATH.
- NVM and Node.js Setup: Installs NVM (Node Version Manager) and the latest LTS version of Node.js.
- Oh My Zsh Installation: Installs Oh My Zsh for enhanced Zsh shell experience.
- Custom Configuration: Sets up custom
.myProfileand.gitignore_globalfiles.
- A Debian-based operating system
- Zsh shell (will be installed by script)
- Basic knowledge of terminal commands
-
Clone the Repository (if applicable):
git clone <repository-url> cd <repository-directory>
-
Make the Script Executable:
chmod +x setup_restore.sh
-
Run the Script:
./setup_restore.sh
Note: Do not run this script as root or with sudo.
- Logging Functions: Provides consistent logging for both informational and error messages.
- Package Installation: Installs essential packages such as
curl,git,zsh,ripgrep,xclip,xsel,tmux, andalacritty. Backup Restoration: If available restores backup files fromdotfiles_backup.tar.gzanddev_files_backup.tar.gz.- File Management: Compares and manages the setup of
.myProfileand.gitignore_global, allowing options to overwrite, update, or do nothing based on file differences. - Configuration Setup: Ensures that
.myProfileis sourced in your.zshrcfile.
This script simplifies the process of setting up your development environment on Debian. It ensures that all necessary tools and configurations are in place, allowing you to focus on development.
This project is licensed under the MIT License - see the LICENSE file for details.