Every visual Git client worth its salt has a CLI shortcut: fork ., code ., gitkraken . — and now Gitoryx does too. This guide shows you how to install and use the `gitoryx` command to open repositories instantly from your terminal.
The Problem
You're deep in your terminal, navigating between repositories, running builds and tests — and every time you need the visual Git client, you have to switch to Finder, locate the folder, and drag it into the app. It breaks your flow.
Every visual Git client worth its salt has a CLI shortcut: fork ., code ., gitkraken .. It's the bridge between the terminal and the GUI — and without it, the app feels disconnected from the developer's real workflow.
Common mistakes developers make with this:
Thinking you need to open the app manually every time
Not knowing the CLI command exists after installing the app
Forgetting to install the CLI command from the app settings
Gitoryx: Gitoryx lets you type gitoryx . in any terminal and your repo opens instantly in a new tab — no Finder, no drag-and-drop.
What is Open a Repository from the Terminal with Gitoryx?
The gitoryx CLI command opens any Git repository in the Gitoryx desktop app directly from your terminal. Run gitoryx . to open the current directory, or gitoryx /path/to/repo for any repository on your machine.
Step-by-Step Guide
1
Install the CLI command from Gitoryx
Open Gitoryx, go to Settings → About, and click "Install Command". This creates the gitoryx command in /usr/local/bin/ so it's available in every terminal session. You may be prompted for your administrator password.
You only need to do this once. The command persists across app updates.
2
Open the current directory
Navigate to any Git repository in your terminal and run gitoryx . — the repo opens in Gitoryx as a new tab, and the app window comes to the foreground.
bash
cd ~/projects/my-app
gitoryx .
3
Open a specific path
You can also pass an absolute or relative path to open a repository that isn't your current directory.
The command works whether Gitoryx is already open or not. If the app isn't running, macOS launches it automatically and opens the repo once it's ready.
If you have multiple repos open, the new one is added as a tab alongside your existing ones.
5
Uninstall the command (optional)
If you ever want to remove the CLI command, go back to Settings → About and click "Uninstall Command". The gitoryx command is removed from your PATH.
Common Mistakes to Avoid
Running the command before installing it
If you type gitoryx . without first installing the CLI from the app settings, your shell will say "command not found".
Fix: Open Gitoryx → Settings → About → Install Command.
Running it in a directory that isn't a Git repo
The command passes the path to Gitoryx, which expects a valid Git repository. Opening a non-repo folder will show an error in the app.
Fix: Make sure you're inside a Git repository (a directory containing a .git folder).
Permission denied when installing
The CLI is installed in /usr/local/bin/, which requires administrator access on macOS.
Fix: Click "Install Command" and enter your admin password when prompted by macOS.
One command, instant visual context
Type gitoryx . from any terminal — your repo opens in a new tab instantly.
Works with your existing terminal workflow — no need to switch to Finder.
Install once from Settings → About → Install Command. No package manager needed.
Supports both . (current dir) and absolute/relative paths.
If Gitoryx is already running, the repo is added as a tab. If not, the app launches automatically.
Everything in this tutorial is faster and clearer with a visual Git client. Gitoryx is free, runs natively on macOS and Windows, and built for developers who want to move fast without breaking things.