Installation
Install the CLI, sign in, and choose your destination organization.
Prerequisites
You need Node.js 22.14 or newer, npm, and access to a Reprolane organization. Create or join an organization in your Reprolane app before capturing. Install your own application's dependencies before local capture.
Install the CLI
From any directory, check Node and install the published package:
node --version
npm install --global @reprolane/cli
reprolane --version
reprolane --helpYou should see a Node version of at least 22.14, a CLI version, and command help. The
package is @reprolane/cli; the executable is reprolane. For a single invocation
without a global install, run npx @reprolane/cli --help from any directory.
Sign in
From any directory:
reprolane loginChoose browser login, open the displayed URL, and approve the matching authorization code. Sign in to the account that belongs to your destination organization. Login may offer to select an organization.
Alternatively, an organization owner or admin can create a key from API keys in the
dashboard sidebar. Copy the key when it is shown, run reprolane login, choose Enter
an API key or token, and paste it at the prompt. Keep it out of shell history and
source files.
Select an organization
From any directory, replace the placeholder with your organization ID:
reprolane config set defaultOrgId YOUR_ORGANIZATION_ID
reprolane config showCheck the displayed destination. You can override it for a single capture with
--organization YOUR_ORGANIZATION_ID. An organization API key must use its own
organization.
For a separate deployment, configure apiUrl and appUrl for that deployment before
signing in. Ask its operator for the correct endpoints.
Next step
Capture a small failure. If login or access fails, check authentication recovery.