Setup
Getting Started with Genie
Follow the instructions below to download and set up the genie
CLI tool on your operating system.
Using a Package Manager (Recommended)
Homebrew (MacOS)
-
Open your terminal.
-
Run the following command to install
genie
using Homebrew:
brew tap harshalranjhani/harshalranjhani
brew install genie
- Verify the installation by running:
genie version
NPM (Linux, MacOS, Windows) - Coming Soon!
Manual Installation
MacOS
- Download the latest release from the releases page.
- Open your terminal.
- 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
- Download the latest release from the releases page. The file will be in
tar.gz
format. - Open your terminal.
- Navigate to the download location (usually
~/Downloads
) and extract thegenie
binary from thetar.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
- Download the latest release from the releases page. The file will be a ZIP archive.
- 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.
- Open Command Prompt as an administrator.
- 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.