Begin CLI Binary Deprecation

Begin Deploy’s original CLI was distributed as a binary executable. This binary is now deprecated and will eventually be removed. We recommend that you switch to the new CLI, which is distributed as a Node.js package.

Installing the New CLI

See the CLI installation guide for instructions on installing the new CLI from npm.

Removing the Binary

If you have installed the binary and logged in, you can remove the program and leave your credentials intact. To do so, run the following command:

rm $(which begin)

The ~/.begin directory should only contain .json configuration files.

Updating your $PATH

During the binary installation, you likely added the binary to your $PATH. This configuration can be removed from your shell profile (e.g., ~/.bash_profile, ~/.bashrc, or ~/.zshrc).

It likely looks something like this:

# Begin
export BEGIN_INSTALL="/Users/your-user/.begin"
export PATH="$BEGIN_INSTALL:$PATH"

You can safely remove these lines.