In Laptop, steps to install bench v15, v14, v13 and v12 side by side - ashish-greycube/help GitHub Wiki

Go to boot menu: restart & F12

install ubuntu (create user) login

go to terminal:

usermod -aG sudo
sudo apt install git
git clone https://github.com/flexcomng/erpnext_quick_install.git
cd erpnext_quick_install
chmod +x erpnext_install.sh
source erpnext_install.sh

=========== for v15-bench ===========

select option 3 (version-15)

In Production Setup Question,
Would you like to continue with production install? (yes/no) --> no

Bench Name is frappe-bench so if you want to change bench name, (e.g v15-bench), run below commands one by one and replace bench name.

replace frappe-bench to v15-bench

sudo nano redis_queue.conf
sudo nano redis_cache.conf
bench setup requirments

=========== for v12-bench ===========

install python 3.8 and venv (refer wiki --> https://github.com/ashish-greycube/help/wiki/V12-bench-on-system-having-v14)
install and use required node version (12.19.0)

v12-bench created successfully

while creation new site it throws mariadb error

sol :
change code in frappe/frappe/database/mariadb/setup_db.py (line 111 --> return True)
create new site

get-app erpnext
install app in site ---> if throws error of numpy:

sol :
source env/bin/activate
pip install numpy==1.21.6
deactivate

=========== for v14-bench ===========

install python 3.10 and venv (use same command as for v12)
node version: 14.19.0
bench created successfully

get-app erpnext
bench new-site demo14 --db-name demo14 --install-app erpnext

=========== for v13-bench ===========

create bench using python 3.8 and node version: 14.19.0

⚠️ **GitHub.com Fallback** ⚠️