# dep: compat/solaris-to-linux.sh # dep:load-if-exists /opt/local/bin/custom The load-if-exists prevents failures during the phased migration. The development team published benchmarks comparing Version 46 against Version 40 (the previous long-term support release) and raw Bash sourcing.
dep space create ci-runner dep space activate ci-runner dep add mylib@1.2.0 dep run ./deploy.sh # Runs inside isolated environment This is similar to virtualenv but for shell functions. You are migrating a 20-year-old Solaris server to RHEL 9. The old scripts use hardcoded paths like /opt/local/bin/custom . With Shell Dep Version 46, you create a compatibility layer: Shell Dep Version 46
| Test Scenario | Raw Bash sourcing | Shell Dep v40 | Shell Dep v46 | |---------------|------------------|---------------|----------------| | 100 local dependencies | 1.8s | 2.2s | 1.1s | | 50 remote dependencies (cached) | N/A | 4.1s | 2.0s | | Cyclic dependency detection | Manual | 0.9s | 0.2s | | Memory overhead (peak) | 12MB | 28MB | 19MB | # dep: compat/solaris-to-linux