| Crates.io | arch |
| lib.rs | arch |
| version | 0.5.0 |
| created_at | 2024-03-30 20:59:23.741936+00 |
| updated_at | 2024-04-07 19:59:42.499454+00 |
| description | A archlinux installer and manager |
| homepage | |
| repository | https://github.com/otechdo/arch |
| max_upload_size | |
| id | 1191308 |
| size | 426,590 |
sha512sum arch.pdf
269036e9752ef3edb89d8ec0b351bc745d25499b45a0c3f9038ed97b8c6b3caa9f9b7af4d08ef71cab74148b67199e73d221f5dffa6ed6aab50ca0010940f703 arch.pdf
sha512sum arch.epub
8ddf24144aeb1abfe16d3500ccefa72ab46c9a513dbdc76c3b34d387bc76d66640d54f77a5ce26facde6012110ef9fb257bed04ec87edf087416acfceb9bcb46 arch.epub
loadkeys <keymap>
cgdisk /dev/sda
/boot/efi
mkfs.vfat -F 32 /dev/sda1
/boot
mkfs.ext2 /dev/sda2
/
mkfs.ext4 /dev/sda3
mount /dev/sda3 /mnt
mkdir /mnt/boot
mount /dev/sda2 /mnt/boot
mkdir /mnt/boot/efi
mount /dev/sda1 /mnt/boot/efi
reflector -c <country> --sort delay --save /etc/pacman.d/mirrorlist -p https
pacman-key --init && pacman-key --populate archlinux
pacstrap /mnt base base-devel wget git linux linux-firmware vim efibootmgr rustup sudo grub networkmanager w3m archiso reflector <shell> <ucode> <graphics_driver>
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt && cd ~
useradd -m -U -c 'YOUR REAL NAME' -s <shell> <username>
passwd root
passwd <username>
echo '<username> ALL=(ALL) ALL' > /etc/sudoers.d/<username>
su - <username>
rustup default stable
sudo vim /etc/pacman.conf
sudo pacman -Sy
git clone https://aur.archlinux.org/yay
cd yay
makepkg -si
cd ..
rm -rf yay
git clone https://github.com/otechdo/arch
cd arch
make
sudo make install
cargo install arch
install -m 755 "$HOME/.cargo/bin/arch" /usr/bin/arch
paru -Syu manager
arch --setup
arch --install
arch -S <pkg> <pkg>
exit
umount -R /mnt
reboot
arch -i
arch --setup
arch -R <pkg> <pkg>
arch --uninstall
arch -S <pkg> <pkg>
arch --install
arch -M
arch --mirrors
arch -C
arch --check
arch -d
arch --deps
arch
arch -u
arch --update
arch -s <pkg>
arch --search <pkg>
arch -v
arch --version
arch -d
arch --download-updates
arch -h
arch --help
arch -x
arch --cancel
arch -U
arch --upgrade
arch -c
arch --cache
arch -n
arch --news
arch -a
arch --aur
arch -f
arch --forum
arch -m
arch --man
arch --woman
arch -w
arch --wiki
os --list
os --add fedora 39 workstation
os --add fedora 39
os --add-from quay.io/toolbx-images/debian-toolbox:12
os --use workstation
os --use fedora-toolbox-39
os --run workstation ls
os --run fedora-toolbox-39 ls
os --stop workstation
os --stop fedora-toolbox-39
os --rm workstation
os --rm fedora-toolbox-39
This file lists all of the key bindings currently registered by prompts.
These key bindings may be used with all prompts.
| command | description |
|---|---|
| enter | Submit answer. |
| esc | Cancel the prompt*. |
| ctrl + c | Interrupt the prompt*. |
* Canceling and interrupting a prompt have two different meanings. Canceling is defined specially for when the end user is allowed to skip a prompt, the library user can then use prompt_skippable which wraps the return type into an Option and catches the CanceledOperation error transforming it into a Ok(None) result. Interrupted operations are closer to "stop-the-world" operations, where the library user should treat them as termination commands.
These key bindings may be used with all prompts that ask the user for text input: [Text], [Select], [MultiSelect], [Confirm], [CustomType] and [Password]. The [Editor] prompt is not included because it opens a separate text editor for text input.
| command | description |
|---|---|
| character | Insert the character into the input. |
| left | Move the cursor back one character. |
| right | Move the cursor forward one character. |
| ctrl + left | Move one word to the left of the cursor. |
| ctrl + right | Move one word to the right of the cursor. |
| home | Move cursor to the start of the line*. |
| end | Move cursor to the end of the line*. |
| backspace | Delete one character to the left of the cursor. |
| delete | Delete the character at the cursor. |
| ctrl + delete | Delete one word to the right of the cursor. |
* Key bindings not supported on [Select] and [MultiSelect] prompts.
These key bindings may be used in [Text] prompts.
| command | description |
|---|---|
| enter | Submit the current current text input. |
| up | When suggestions are displayed, move cursor one row up. |
| down | When suggestions are displayed, move cursor one row down. |
| page up | When suggestions are displayed, move cursor one page up. |
| page down | When suggestions are displayed, move cursor one page down. |
| tab | Replace current input with the resulting suggestion if any. |
| others | See Text Input and All Prompts |
These key bindings may be used in [Select] prompts.
| command | description |
|---|---|
| enter | Submit the current highlighted option. |
| up | Move cursor one row up. |
| down | Move cursor one row down. |
| k | Move cursor one row up when vim mode is enabled. |
| j | Move cursor one row down when vim mode is enabled. |
| page up | Move cursor one page up. |
| page down | Move cursor one page down. |
| home | Move cursor to the first option. |
| end | Move cursor to the last option. |
| others | See Text Input and All Prompts |
These key bindings may be used in [MultiSelect] prompts.
| command | description |
|---|---|
| enter | Submit the options currently selected. |
| space | Toggle the selection of the current highlighted option. |
| up | Move cursor one row up. |
| down | Move cursor one row down. |
| k | Move cursor one row up when vim mode is enabled. |
| j | Move cursor one row down when vim mode is enabled. |
| page up | Move cursor one page up. |
| page down | Move cursor one page down. |
| home | Move cursor to the first option. |
| end | Move cursor to the last option. |
| left | Unselect all options. |
| right | Select all options. |
| others | See Text Input and All Prompts |
These key bindings may be used in the interactive calendar of the [DateSelect] prompt.
| command | description |
|---|---|
| space bar or enter | Submit the current highlighted date. |
| up | Move cursor one row up. |
| down | Move cursor one row down. |
| left | Move cursor one column to the left. |
| right | Move cursor one column to the right. |
| k | Move cursor one row up when vim mode is enabled. |
| j | Move cursor one row down when vim mode is enabled. |
| h | Move cursor one column to the left when vim mode is enabled. |
| l | Move cursor one column to the right when vim mode is enabled. |
| ctrl + up | Move calendar back by one year. |
| ctrl + down | Move calendar forward by one year. |
| ctrl + left | Move calendar back by one month. |
| ctrl + right | Move calendar forward by one month. |
These key bindings may be used in [Editor] prompts.
| command | description |
|---|---|
| e | Open the editor. |
| enter | Submit the current content of the temporary file being edited. |