JetBrains Rider 2024.2 Help

Open files from the command line

Open an arbitrary file or folder in JetBrains Rider from the command line, optionally specifying where to place the caret after opening.

You can find the executable for running JetBrains Rider in the installation directory under bin. To use this executable as the command-line launcher, add it to your system PATH as described in Command-line interface.

Syntax
rider64.exe [--line <number>] [--column <number>] <path ...>
Examples

Open a project:

rider64.exe C:\MyProject

Open a specific file on line number 42:

rider64.exe --line 42 C:\MyProject\scripts\numbers.js

By default, JetBrains Rider does not provide a command-line launcher. For more information about creating a launcher script for JetBrains Rider, refer to Command-line interface.

Syntax
rider --line <number> <path>
Examples

Open a project:

rider ~/MyProject

Open a specific file on line number 42:

rider --line 42 ~/MyProject/scripts/numbers.js

You can find the script for running JetBrains Rider in the installation directory under bin. To use this script as the command-line launcher, add it to your system PATH as described in Command-line interface.

Syntax
rider.sh --line <number> <path>
Examples

Open a project:

rider.sh ~/MyProject

Open a specific file on line number 42:

rider.sh --line 42 ~/MyProject/scripts/numbers.js
Last modified: 08 October 2024