Skip to content

hmaach/init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

init Setup

This project automates the setup of common developer tools and configurations in Ubuntu without requiring sudo privileges.


Table of Contents


Quick Start

Clone and Run

git clone https://github.com/hmaach/init.git
cd init

chmod +x run.sh cmd/*.sh Makefile

./run.sh

Using Makefile

make help

make install-docker
make setup-git

Important Note

⚠️ After running any installation script, always reload your shell configuration.

Many scripts update environment variables such as PATH.

Run:

source ~/.zshrc

If you skip this step, newly installed commands may not be immediately available.


Scripts Overview

Script Quick Run Command
install_discord.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/install_discord.sh)
install_docker.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/install_docker.sh)
install_mkcert.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/install_mkcert.sh)
install_mongosh.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/install_mongosh.sh)
install_mvn.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/install_mvn.sh)
install_ng.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/install_ng.sh)
install_tmux.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/install_tmux.sh)
setup_git.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/setup_git.sh)
setup_clock.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/setupt_clock.sh)
setup_refresh_rates.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/setup_refresh_rates.sh)
update_java_to_v21.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/update_java_to_v21.sh)
auto.sh bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/auto.sh)
auto.sh curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/clipboard | sh

Using Makefile

make help

make install-discord
make install-docker
make install-mkcert
make install-mongosh
make install-mvn
make install-ng
make install-tmux

make setup-git
make setup-clock
make setup-refresh-rates

make update-java

Helper: Run Any Script Directly

You can run any script from the repository using:

bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/<script-name>.sh)

Example:

bash <(curl -fsSL https://raw.githubusercontent.com/hmaach/init/refs/heads/main/cmd/install_tmux.sh)

Open Source & Contributing

This project is open source.

If you have:

  • a useful setup script
  • improvements to existing scripts
  • bug fixes
  • better automation ideas

you are welcome to contribute.

Ways to contribute:

  1. Fork the repository
  2. Add or improve a script
  3. Update the scripts overview table
  4. Submit a pull request

You can also open an issue if something does not work correctly.

The goal of this project is to build a collection of reliable scripts for setting up developer environments without sudo.


Tips

  • Usage of auto.sh :
$ ./auto.sh <name of the binary you want to work when stating the session>
  • Use source run.sh if you want environment changes applied immediately.
  • All installations occur inside your home directory.
  • No sudo is required.
  • You can run scripts individually depending on what you need.

Author

Hamza Maach

About

Setup developer tools and configurations in Ubuntu without requiring sudo

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages