mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-29 03:35:37 -04:00
1.4 KiB
1.4 KiB
Installation
-
Install Python 3, pip, venv and git.
On Arch:
pacman -S base-devel python python-pip git --needed --noconfirm
If you're on a non-arch distro (i.e. you don't have pacman and pacstrap), you'll also need docker.
After installing Docker you will have to add your user to the `docker` group: `sudo usermod -aG docker "$(whoami)"` Then restart your desktop session for the new group to take effect.
-
Pick which Kupferbootstrap branch to clone: usually
dev
-
Clone the repository:
git clone -b INSERT_BRANCHNAME_HERE https://gitlab.com/kupfer/kupferbootstrap
-
Change into the folder:
cd kupferbootstrap
-
Install:
make install
this will effectively run the following steps for you:
5.1. Create a venv:
python -m venv venv
5.1. Install
kupferbootstrap
:venv/bin/pip3 install -e .
5.1. Symlink
kupferbootstrap
into your$PATH
:sudo ln -s "$(pwd)/venv/bin/kupferbootstrap" ~/.local/bin/
You can override the path and name that the kupferboostrap script file is symlinked to like so. Just make sure the destination directory is in your `$PATH`! ```sh make INSTALL_TARGET=~/.local/bin/my_custom_kbs_alias install
-
You should now be able to run
kupferbootstrap --help
!