Start with an admitted account
The CLI uses an existing Perdura organization account. It does not create an account or complete admission. A buyer authority can create requirements; other operations follow the same current grants as the web workspace.
Use Node.js 22 or newer. The downloaded file is a standalone ESM client with no packages to install. Your deployment operator supplies its API origin. The loopback origin below is for a locally running Perdura API, not a public production service.
Download, inspect, run
Save perdura-cli.mjs from the download on this page. Inspect the file before running it, then check the installed Node version and client command list.
node --version
node perdura-cli.mjs --version
node perdura-cli.mjs helpSign in without a password argument
The following hidden shell prompt works in Bash and Zsh. The password is sent on standard input, then the shell variable is cleared. You can instead pipe a single password line from a trusted password manager. Do not put a password in a command argument or saved script.
printf 'Account password: '
read -rs perdura_cli_password
printf '\n'
printf '%s\n' "$perdura_cli_password" | node perdura-cli.mjs login \
--api-url http://127.0.0.1:3101 \
--email you@company.example --password-stdin
unset perdura_cli_passwordConfirm the organization
Successful reads print JSON. An empty data array is a real empty response from your organization, not a seeded market. If a command is refused, inspect its HTTP status, error code and request id.
node perdura-cli.mjs whoami
node perdura-cli.mjs requirements list --limit 10
node perdura-cli.mjs orders list --limit 10Prepare a requirement
Use the request-file guide and downloadable synthetic example. Replace every example field with your actual requirement and choose a future delivery deadline. A local preview reads JSON only; the API performs the authoritative schema, permission and business-rule checks when saving.
node perdura-cli.mjs requirements create --file requirement.json --dry-run
node perdura-cli.mjs requirements create --file requirement.json