PitchHut
Log in / Sign up
macenv
25 views
Easily set environment variables for your macOS GUI applications.
Pitch

macenv is a straightforward tool designed to set environment variables for GUI applications on macOS. With a simple installation and easy-to-follow commands, you can customize your environment variable settings and ensure your applications operate with your preferred configurations.

Description

macenv is a powerful utility designed specifically for macOS, enabling users to effortlessly set environment variables for GUI applications. Whether you're adjusting your Java home path or configuring other critical environment variables, macenv makes it simple.

Key Features:

  • Easy Variable Management: Use macenv set to set environment variables quickly. For instance, to set the JAVA_HOME environment variable, simply run:

    macenv set JAVA_HOME /path/to/java/home
    
  • Persist Across Sessions: Once set, the environment variables remain persistent even after an OS restart. However, it may require relaunching your GUI applications to fully recognize the changes, ensuring all your settings are effectively applied.

  • Interactive Help: Need assistance? You can view all available options by executing macenv --help in your terminal.

Uninstallation:

Should you need to remove macenv, the uninstallation process is straightforward:

macenv --uninstall
sudo rm -rf /usr/local/bin/macenv

macenv is ideal for developers and users alike who rely on multiple GUI applications and require a seamless way to manage their environment settings. Boost your productivity on macOS with macenv!