dvt_env

This is a wrapper that facilitates the execution of scripts included in the DVT distribution by automatically resolving the script path and the $DVT_HOME variable value based on the execution environment.

DVT Env. Copyright (C) 2005-2026 AMIQ EDA s.r.l.

Usage: dvt_env exec | install | version | help ...

Resolves DVT_HOME automatically by inspecting parent processes and
executes the specified script from the appropriate bin directory:
    exec [--inherit-full-env] <script_name> [script_args...]

    Example:
        dvt_env exec dvt_mcp.sh connect -trace

    Mandatory arguments:
        <script_name>                   Name of the DVT script to execute.

    Optional arguments:
        --inherit-full-env              Propagate all environment variables from the
                                        resolved parent process, not just DVT_HOME.
        <script_args>                   Arguments forwarded to the executed script.

Install (or update) dvt_env to $HOME/.dvt/bin/ (or $DVT_USER_DIR/bin/ if set).
    install [--force]

    Optional arguments:
        --force                         Skip version checks and install unconditionally,
                                        even if the same or a newer version is already installed.

Show version:
    version

Examples

Start a DVT Language Server without explicitly mentioning the script path or manually setting $DVT_HOME.

$> $HOME/.dvt/bin/dvt_env exec dvt_ls.sh start . -lang vlog

Note

dvt_env must be installed before use. Installation occurs automatically when you start any DVT product for the first time. To install it manually beforehand, run: $DVT_HOME/bin/dvt_env install.