Bench install-app missing

frappe@testserver:~/frappe-bench$ bench --version
4.1.0

frappe@zlm-acop-testserver:~/frappe-bench$ bench --help
Usage:  [OPTIONS] COMMAND [ARGS]...

  Bench manager for Frappe

Options:
  --version
  --help     Show this message and exit.

Commands:
  backup                 backup site
  backup-all-sites       backup all sites
  config                 change bench configuration
  disable-production     Disables production environment for the...
  download-translations  Download latest translations
  get-app                clone an app from the internet and set it up...
  init                   Create a new bench
  new-app                start a new app
  new-site               Create a new site in the bench
  release                Release app (internal to the Frappe team)
  remote-reset-url       Reset app remote url to frappe official
  remote-set-url         Set app remote url
  remote-urls            Show apps remote url
  remove-app             completely remove app from bench
  renew-lets-encrypt     Renew Let's Encrypt certificate
  restart                Restart supervisor processes
  retry-upgrade
  set-default-site       Set default site for bench
  set-mariadb-host       Set MariaDB host for bench
  set-nginx-port         Set nginx port for site
  set-ssl-certificate    Set ssl certificate path for site
  set-ssl-key            Set ssl certificate private key path for site
  set-url-root           Set url root for site
  setup                  Setup bench
  shell
  src                    Prints bench source folder path, which can be...
  start                  Start Frappe development processes
  switch-to-branch       Switch all apps to specified branch, or...
  switch-to-develop      Switch frappe and erpnext to develop branch
  switch-to-master       Switch frappe and erpnext to master branch
  update                 Update bench
()

There’s no install-app, use etc here.

frappe@testserver:~/frappe-bench$ bench install-app app_name
Usage: bench [OPTIONS] COMMAND [ARGS]...

Error: No such command "install-app".

What’s going wrong here?

Activate the bundled virtual env. It should be found at apps/env

@tundebabzy did. Still the same. And I think you mean frappe-bench/env

What do you mean by Bundled Envirnment ? Can you through some light on it ?

@mr-karan login with the sudo user used to install ERPNext. then
cd /home/“sudoUser”/frappe-bench/
source env/bin/activate

then you can run all bench commands. Do not change the directory
to get out of the environment. simply type
deactivate