Easily control your environment properties.
To install, download the installation file available at releases,
extract, and run install.sh
(Linux) with administrator permissions. For more detailed information, consult
the installation instructions.
Compatibility: GNU/Linux, Termux
EnvManager is ideal for projects with multiple environments, where variables are managed by a property
file (named target) in the key=value
format. With EnvManager, you can switch between
different environments and perform other manipulations directly from the terminal.
After installation, EnvManager is accessed with the envm
command, followed by a command and its arguments.
$ envm [options] <command> [arguments]
Other options: --path=, --version, --show-config
You can get the instructions for any command with the --help
option.
$ envm --help
These commands cover the main functionalities for daily use.
Initialize EnvManager in your project directory with the install
command.
$ envm install
Options: --target=, --force
Save the current properties as an environment using save
, followed by the environment name (named tag).
$ envm save <tag>
Options: --clipboard
List the saved environments with the list
command.
$ envm list
To list properties of a specific environment, add the tag after the command.
$ envm list <tag>
Options: --current, --target
Switch to a different environment with checkout
.
$ envm checkout <tag>
Options: --force
Delete one or more environments with delete
.
$ envm delete <tags>
Options: --all
Add or modify properties with set
.
$ envm set <properties>
Options: --tag=, --all, --target-only
Remove specific properties with remove
.
$ envm remove <keys>
Options: --tag=, --all, --target-only
Rename an environment with rename
.
$ envm rename <old-tag> <new-tag>
Revert changes in the target, synchronizing with the current environment, using rollback
.
$ envm rollback
See the documentation for the other commands at docs.