https://github.com/c0d3h01/archinstall
Automated Arch Linux Installation
https://github.com/c0d3h01/archinstall
archinstall archlinux linux shell
Last synced: 7 months ago
JSON representation
Automated Arch Linux Installation
- Host: GitHub
- URL: https://github.com/c0d3h01/archinstall
- Owner: c0d3h01
- License: gpl-3.0
- Created: 2024-12-17T13:04:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-08T09:58:22.000Z (10 months ago)
- Last Synced: 2025-08-10T22:33:52.950Z (8 months ago)
- Topics: archinstall, archlinux, linux, shell
- Language: Shell
- Homepage:
- Size: 524 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# archinstall
[](https://github.com/c0d3h01/archinstall/actions/workflows/checks.yml)
Automated Arch Linux installation script for quick, reproducible system setup.
## Features
- Interactive, safe drive selection (with confirmation)
- Automatic partitioning (EFI + Btrfs)
- Installs Arch base system and essential tools
- Fully customizable via JSON config (hostname, users, locale, etc.)
- User creation with groups/shell setup
- Enables basic services (NetworkManager, firewalld)
- Actions are logged to `archinstall.log`
## Usage
1. **Clone the repository:**
```bash
git clone https://github.com/c0d3h01/archinstall.git
cd archinstall
```
2. **Edit your config:**
Edit `config/user_config.json`:
```json
{
"drive": "auto",
"hostname": "archbox",
"timezone": "Asia/Kolkata",
"locale": "en_IN.UTF-8",
"users": [
{
"name": "username",
"password": "your_password_here",
"groups": "wheel,docker",
"shell": "/bin/zsh"
}
]
}
```
3. **Run the installer:**
```bash
chmod +x ./src/archinstall.sh
sudo ./src/archinstall.sh config/user_config.json
```
If `"drive": "auto"` is set, you'll be prompted to select the target disk.
4. **Reboot when finished.**
## Requirements
- Arch Linux live environment
- Internet connection
- Required tools will be auto-installed if missing (`jq`, `sgdisk`, etc.)
## Notes
- **Warning:** The selected drive will be wiped.
- All actions are logged.
- Review your config before proceeding.
## License
MIT