Installation
Set up the Genie CLI on your local machine
Install Genie
Get started by installing the Genie CLI on your machine, enabling you to manage and run Genie from anywhere in your terminal or command prompt.
Installation via Package Manager (Recommended)
Homebrew (macOS)
If you’re on macOS, the simplest way to install Genie is via Homebrew. Follow these steps:
-
Open your terminal.
-
Run the following command to tap the repo and install Genie:
brew tap harshalranjhani/harshalranjhani
brew install genie
- Verify the installation by running:
genie version
NPM (Linux, macOS, Windows) - Coming Soon!
We’re working on supporting installation via npm. Stay tuned!
Manual Installation
MacOS
If you prefer or need to manually install Genie, follow the instructions below for your operating system:
-
Download the latest release from the Genie 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
- Verify the installation by running:
genie version
Linux
-
Download the latest release from the Genie 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 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
- Verify the installation by running:
genie version
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 thegenie.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’sPATH
, such asC:\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’sPATH
. For example, to movegenie.exe
toC:\Tools
and add it to yourPATH
:
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.
- Verify the installation by running:
genie version
Next Steps
Before jumping into it, there are a few things you should setup to make the most of Genie. Head over to the Getting Started guide to learn more about the commands and how to use them.