## Install to hard drive ```plaintext # login as root setup-alpine ``` See [the alpinelinux wiki](https://wiki.alpinelinux.org/wiki/Install_to_disk) ## Without installing If you just want to run from RAM without installing, ``` # As root echo myhostname > /etc/hostname hostname -F /etc/hostname apk add dhcpcd dhcpcd ``` edit /etc/apk/repositories ```plaintext http://dl-cdn.alpinelinux.org/alpine/v3.17/main http://dl-cdn.alpinelinux.org/alpine/v3.17/community ``` then I install ```plaintext apk add vim apk add tmux apk add curl ``` After this, only 48MB is used. Though note that aplinelinux runs out of a `tmpfs` so these are lost when rebooting.