Skip to content

Setup

Getting Started with Genie

Follow the instructions below to download and set up the genie CLI tool on your operating system.

Homebrew (MacOS)

  1. Open your terminal.

  2. Run the following command to install genie using Homebrew:

brew tap harshalranjhani/harshalranjhani
brew install genie
  1. Verify the installation by running:
genie version

NPM (Linux, MacOS, Windows) - Coming Soon!

Manual Installation

MacOS

  1. Download the latest release from the releases page.
  2. Open your terminal.
  3. Move the downloaded genie binary to /usr/local/bin to make it accessible from anywhere in your terminal:
mv ~/Downloads/genie /usr/local/bin/genie
chmod +x /usr/local/bin/genie

Linux

  1. Download the latest release from the releases page. The file will be in tar.gz format.
  2. Open your terminal.
  3. Navigate to the download location (usually ~/Downloads) and extract the genie binary from the tar.gz archive using the following command:
tar -zxvf genie.tar.gz -C ~/Downloads

Move the extracted genie binary to /usr/local/bin to make it executable and accessible from anywhere in your terminal. You may need to prefix these commands with sudo for superuser access:

sudo mv ~/Downloads/genie /usr/local/bin/genie
sudo chmod +x /usr/local/bin/genie

Windows

  1. Download the latest release from the releases page. The file will be a ZIP archive.
  2. Locate the downloaded ZIP file, usually in your Downloads folder, right-click on it, and select “Extract All…” to extract the genie.exe file. Choose a location that is easy for you to remember.
  3. Open Command Prompt as an administrator.
  4. Move the extracted genie.exe to a directory that’s in your system’s PATH, such as C:\Windows\System32 for system-wide access, or another directory of your choice (e.g., C:\Tools). If you use a custom directory, ensure it’s added to your system’s PATH. For example, to move genie.exe to C:\Tools and add it to your PATH:
move %USERPROFILE%\Downloads\genie.exe C:\Tools\genie.exe
setx PATH "%PATH%;C:\Tools"

Note for Windows Users: After updating your PATH, you’ll need to restart Command Prompt or any other applications to recognize the new PATH settings.

With genie set up, you can now run it from anywhere in your terminal or Command Prompt.