Platform guides

CLI installation and usage

Run tasks, resume chats, and diagnose problems in the terminal.

This guide covers installing Remy CLI on macOS, signing in, running tasks in local projects, resuming chats, updating the CLI, and sending feedback.

View flowchart source (Mermaid)
flowchart LR
    A["Set up Node.js and npm"] --> B["Install Remy CLI"]
    B --> C["Sign in"]
    C --> D["Go to your project"]
    D --> E["Start a task"]
    E --> F["Review and continue"]

1. Before you start

1.1 System and runtime requirements

What you need Requirements
Operating system • This guide covers macOS.
Chip • Apple silicon (arm64)
• Intel (x64)
Node.js and npm • Node.js 18 or later
• A working npm installation
Terminal and network • Access to a terminal on your Mac
• Network access to install packages and sign in through your browser
Remy account • You can sign in with your Corepass account.
Local project • The project folder is saved on your computer and accessible.
• The project’s own environment and dependencies are ready.

The CLI requires Node.js and npm. The standard npm installation of Remy CLI does not require a separate Python or Rust installation. Your project and its tests still need their own environment and dependencies.

Check your setup in the terminal:

bash
node --version
npm --version

Both commands should print a version number. If either command is missing, get the appropriate Mac installer from the Node.js website, finish installation, and open a new terminal. Choose the current LTS release before installing Remy.

1.2 Model access

Sign in with your Remy account to use the models available to it. The standard workflow does not require a separate model-provider account or API key.

Sign in to the desktop app and CLI separately. Even if you’re signed in to Remy Desktop, you still need to sign in the first time you use the CLI.

2. Install and check the CLI

2.1 Install Remy CLI

Run this in your terminal:

bash
npm install -g @corepassinc/remy

Wait for installation to finish. The installer selects components for your operating system and the architecture of your Node.js runtime. You don’t need to choose a separate Apple silicon or Intel CLI package.

2.2 Check that the command is available

After installation, run:

bash
remy --version
remy --help
Check Expected result
remy --version • Prints the installed CLI version.
remy --help • Shows command help and available options.

If your terminal can’t find remy, open a new terminal and check the installation and command-path guidance in section 7.

3. Sign in and check your account

3.1 Sign in

Run this in your terminal:

bash
remy login
  1. Complete sign-in in the browser that opens.
  2. Return to the terminal and wait for the result.
  3. When you see Signed in as …, continue to the next step.

If sign-in fails, follow the terminal’s message to check your connection or start sign-in again.

3.2 Check the active account

bash
remy whoami

Use this command to check the signed-in account, its current account scope, and the working directory. If you use a team account, confirm that the intended team is selected.

3.3 Check the runtime

bash
remy doctor

Use the results to decide what needs attention:

Result What to do
Sign-in or required runtime checks pass • Continue to your project and try a task.
You are not signed in • Run remy login, then check again.
The saved sign-in session cannot be used • Follow the message to sign in again.
A required component is missing or fails to start • Check that installation completed and reinstall if needed. Send feedback if the problem persists.
An optional tool is unavailable • Check that tool’s requirements.
• One unavailable optional tool does not necessarily prevent basic coding tasks.

Passing runtime checks does not verify a complete task. Run a real task to confirm that model access, project access, and results work as expected.

To sign out of the CLI:

bash
remy logout

4. Start an interactive task in your project

4.1 Go to your project folder

In your terminal, go to the project you want to work on, then start Remy:

bash
cd "/path/to/project"
remy

Replace /path/to/project with your actual local project path.

You can also specify the project folder when starting Remy:

bash
remy --workspace "/path/to/project"
How you start Remy Project folder used
Run remy from the project folder • Your terminal’s current directory.
remy --workspace "/path/to/project" • The folder you specify.

Check the folder before you start. The CLI works from the current working directory. To work on another project, exit the interactive session, then go to the other folder or start Remy with --workspace.

4.2 Choose a model and send a task

In the Remy interactive interface:

  1. Press F2 or enter /model to see the available models.
  2. Choose a model. For models with reasoning settings, use Ctrl+U to adjust them.
  3. Describe your task in the input area and press Enter to send it.

In a macOS terminal, Option+Enter adds a new line. Press Ctrl+G to see keyboard shortcuts and available options.

Choose a model before starting the task. The list shown in the CLI reflects the models available to your current account.

4.3 Make a small change

Choose a real issue in an existing project. The example below uses filtering and pagination in an order list; adapt the feature and behavior to your own project.

First, understand the relevant code:

Example prompt
Read this project’s documentation and relevant instructions.
Identify the files, filtering logic, pagination logic, and tests for the order list.

Analyze only. Do not edit files, install dependencies, commit, or push code.

Once you’ve checked that Remy understands the task, continue in the same chat:

Example prompt
When I change the status filter on page 3 of the order list, the list appears empty.
Results appear only after I return to page 1.

Find and fix the issue so that changing the filter resets the page number.
Change only the relevant logic, and add and run relevant tests.
When finished, summarize the files changed, check results, and any checks you could not complete.

Do not commit or push code yet.

If Remy asks for more information or confirmation, read the request before responding. Use /permissions to view the current chat’s action permissions and follow the interface prompts to choose a setting.

4.4 Review the results and continue

Check What to confirm
File changes • Which files changed.
• Whether the changes stay within the task’s scope.
Tests and checks • Which checks actually ran.
• Which passed, failed, or did not run.
Behavior • Whether the original reproduction steps now work as expected.
Remaining work • Any environment issues, failed checks, or decisions that still need your input.

If your project uses Git, open another terminal window in the same project to inspect uncommitted changes:

bash
git status --short
git diff

By default, git diff shows unstaged changes to tracked files. It does not show new file contents or staged changes. Use git diff --cached for staged changes, and open new files directly to inspect them. The changes you see may also include work that existed before the task started.

To refine the result, describe what happened, what you expected, and what should change in the original chat:

Example prompt
The page number now resets, but the list does not refresh.
It should request fresh data as soon as the filter changes.

Fix only this issue, add and run relevant tests,
and summarize the change and check results. Do not commit or push code yet.

4.5 Common keyboard shortcuts

Key What it does
Enter • Sends the input. While a task is running, the input may be queued.
Option+Enter • Adds a new line in the input area.
F2 • Opens model selection.
Ctrl+U • Opens available reasoning settings.
Ctrl+R • Opens the list of existing chats.
Ctrl+G • Shows keyboard shortcut help.
Ctrl+C • May copy selected text.
• Clears a draft when the input area contains one.
• Requests cancellation of the running task when the input area is empty.
Ctrl+D • Exits the interactive interface when idle.

5. Commands and continuing chats

5.1 Know where to enter a command

Command type Where to enter it Examples
Terminal commands • In your system terminal, before starting or after leaving the Remy interactive interface. • remy login
• remy doctor
• remy exec "Task description"
Interactive commands • In the input area inside Remy. • /help
• /model
• /resume

Run installation commands such as npm install in your system terminal, rather than sending them to Remy as task prompts.

5.2 Common interactive commands

Command What it does
/help • Shows help for interactive commands.
/model • Lists models and lets you choose one.
/new • Starts a new chat.
/resume • Lets you choose and continue an existing chat in the current project.
/resume --last • Continues the most recent chat in the current project.
/permissions • Shows the current chat’s action permissions.

Before starting a new chat or resuming one, finish the current task and check the files as they actually exist in your project.

5.3 List past chats

Run this in your system terminal:

bash
remy history list

This lists chats for the current project within your active account scope. In the interactive interface, use /resume or Ctrl+R to choose a chat and continue it.

Which chats you can see depends on the signed-in account, team scope, and project folder. Access to local history does not mean every device is automatically synced.

5.4 Run a one-shot task

For a clear task that does not need an ongoing conversation, use:

bash
remy exec "Read this project’s README and summarize how to run the project and its tests. Analyze only; do not edit files."

The command runs that task and prints the result. For work that needs follow-up instructions, start interactive mode with remy.

To provide local reference material, attach a file:

bash
remy exec --attach "./requirements.md" "Read these requirements and identify the affected modules and implementation steps in this project. Do not edit files yet."

Replace the file path with a file that exists on your machine. For more options, run:

bash
remy exec --help

6. Update Remy CLI

6.1 Check your version

bash
remy --version

6.2 Update the default release

Finish the current task and leave the Remy interactive interface, then run:

bash
npm install -g @corepassinc/remy

When installation finishes, check again:

bash
remy --version
remy --help

If the CLI still reports an older version, check which command your terminal is finding:

bash
command -v remy
npm prefix -g

If you use a Node.js version manager, each Node.js environment may have its own global installation directory. After switching environments, check the Remy installation and command path in the active environment.

7. Troubleshooting and known limitations

7.1 Installation and runtime issues

Issue What to check first
node or npm is not found • Check that Node.js and npm are installed.
• Open a new terminal and try again.
npm reports a network error during installation • Check your connection, proxy, and access to the npm service.
• Keep the error message and retry once the connection is restored.
Permission denied during global npm installation • Check whether your user account can write to the global installation directory.
• Review your Node.js/npm setup and directory configuration before retrying.
remy is not found • Check that installation finished.
• Open a new terminal.
• Use npm prefix -g to check the current global installation location and command path.
The old version still runs after an update • Use command -v remy to check the actual executable path.
• Check that you haven’t switched to another Node.js environment or older installation.
You are not signed in • Run remy login in the CLI.
• Signing in to the desktop app does not sign you in to the CLI.
The sign-in session is no longer valid • Follow the message to sign in again. If needed, run remy logout, then remy login.
A runtime component is missing or won’t start • Run remy doctor for details.
• Check that npm installation completed and that platform components were not skipped.
• Send feedback if reinstalling does not resolve the issue.
Remy can’t find project files • Use pwd to check the directory you started from.
• Check the --workspace path and that the files exist.
The project or its tests won’t run • Check the project’s own dependencies, environment, and test commands.
• Address the actual error before continuing.
Expected chats are missing from history • Check the active account, team scope, and project folder.
• Use remy whoami to inspect the current context.
A command or option is not recognized • Check remy --version and remy --help.
• Make sure you’re using the intended release. If the mismatch persists, report the exact command and version.

7.2 Scope and limitations

  • This guide covers macOS on Apple silicon and Intel.
  • Local tasks depend on your computer, terminal session, and project environment. Keep the required environment available.
  • Tool access differs across clients. Optional CLI tools depend on the diagnostic results and actual configuration.
  • The CLI does not currently support thumbs-up/down ratings for individual responses. Use the feedback command in the next section for product issues.
  • Resuming a chat does not roll back files. Check the current file state before continuing.

8. Get help and send feedback

8.1 View command help

bash
remy --help
remy doctor --help
remy feedback send --help

Inside Remy, use /help for commands and Ctrl+G for keyboard shortcuts.

8.2 Describe the issue

Save your issue description as a UTF-8 text file, such as feedback.txt. Include the steps to reproduce it, what you expected, what happened, and any error messages and version details.

8.3 Preview and submit

Preview your report first:

bash
remy feedback send --type bug --impact moderate --description-file "./feedback.txt" --dry-run

--dry-run shows the preview without sending a report. After checking the description and feedback options, remove that flag and run the command again:

bash
remy feedback send --type bug --impact moderate --description-file "./feedback.txt"

The CLI shows a preview, then asks you to type send to confirm. Enter something else to cancel.

Option Values
--type • bug: a product issue
• ui: an interface issue
• performance: a performance issue
• suggestion: a suggestion
• other: anything else
--impact • blocked: you cannot continue
• severe: a major impact
• moderate: a partial impact
• minor: a small impact

Choose the type and impact that match your issue; the example’s bug and moderate values are only examples.

Treat the report as submitted only when the command explicitly confirms success and returns a feedback ID. Result unknown means the CLI did not receive a reliable submission result. Check with support before sending again to avoid a duplicate report.

If you can’t start the CLI, sign in, or use the feedback command, contact support at support@corepass.com.

8.4 Keep exploring

What you want to do Where to look
Learn how to describe and check your first task • Quick Start
Use the desktop workspace • Desktop Guide
Start cloud tasks or move local work to the cloud • Cloud Guide
Find more instructions and answers to common questions • Docs on the Remy website