How to use a MacOS Installer Command Line for Memtime

This guide is designed for admin users responsible for managing app installations across their organization.

Prerequisites:

  1. You must have administrator privileges to perform the installation via the command line.
  2. Ensure that you have downloaded the correct Memtime installation package. As of this writing, the installer is named:
    ./Downloads/memtime-V4.4.4-stable.1666.pkg
  3. Confirm that the path to the Memtime package is correct based on where you downloaded it.

 


Command Line Installation:

Administrator users can use the installer command along with command-line arguments to install Memtime for different users on macOS. Below are the methods for targeting different user installations.

1. Installing for All Users:

 

This method installs Memtime in the global /Applications directory, making it available to all users on the system.

 

Command:

sudo installer -pkg ./Downloads/memtime-V4.4.4-stable.1666.pkg -target /Applications

2. Installing for the Current User:

 

This command installs Memtime only for the current user, placing it in their personal ~/Applications directory.

 

Command:

sudo installer -pkg ./Downloads/memtime-V4.4.4-stable.1666.pkg -target ~/Applications

 

Make sure the user has their own Applications folder in their home directory before running the command.

3. Installing for Another User:

 

To install Memtime for a different user, specify the target path for that user’s Applications folder.

 

Command:

sudo installer -pkg ./Downloads/memtime-V4.4.4-stable.1666.pkg -target /Users/USER_NAME/Applications

 

Replace  USER_NAME with the actual username. Ensure that the user has a dedicated Applications folder in their home directory.

 


Important Notes:

  • Admin Privileges Required:
    Running the sudo command will require administrator privileges, and you will be prompted to enter the admin password.

  • Post-Installation Permissions:
    After installation, you must manually grant Memtime the necessary permissions for full functionality. To do this, navigate to:

    • System Preferences > Privacy & Security > Accessibility
      Ensure Memtime has the required permissions to access system resources. 

 

If you want to know more about how to configure your permissions on Mac, we suggest you take a look at this article. 

 

  • App Does Not Auto-Start:
    After installation, Memtime does not start automatically. You’ll need to launch it manually from the Applications folder.

 

By following these steps, you can easily install Memtime for multiple users using the command line. Ensure all paths are valid, and the necessary permissions are granted after installation for smooth operation.