Install the Dynomate CLI
The Dynomate CLI is a separate command-line client. Its command is dynomate-cli. The dynomate command is for the desktop app.
Requirements
- One of these platforms:
- macOS 11 or later, on Apple silicon or Intel
- 64-bit GNU/Linux with glibc 2.35 or later
- 64-bit Windows
- Node.js 18 or later, with npm.
- HTTPS access to the Dynomate release service during the installation.
Install the CLI
Test releases are on npm with the next tag. To install the CLI, run this command:
npm install --global \
--ignore-scripts=false \
--allow-scripts=@dynomate/cli \
@dynomate/cli@next - Keep
@nextin the package name. Without it, npm installs the olderlatestrelease. - The package install script downloads the native executable. The two script flags make sure that npm runs this script.
To upgrade to a newer test release, run the same command again.
Verify the Installation
Run these commands:
dynomate-cli --version
dynomate-cli --help The CLI shows its version and its help. If it shows that the native installation is incomplete, see The Native Installation Is Incomplete.
Troubleshooting
The Native Installation Is Incomplete
This message shows that npm did not run the postinstall script of the package.
-
Show your npm setting:
npm config get ignore-scripts - If the value is
true, run the install command again. Do not remove--ignore-scripts=false.
The --ignore-scripts=false flag applies only to that command. The --allow-scripts flag alone does not change a saved ignore-scripts=true setting.
npm Shows ENOVERSIONS
A local release-age policy can hide a new release.
-
Show your npm setting:
npm config get min-release-age - To install the new release, add
--min-release-age=0to the install command. Keep@nextin the package name.
The --min-release-age=0 flag applies only to that command.
npm Does Not Recognize --allow-scripts
Older npm versions do not have this flag. Do one of these steps:
- Upgrade npm.
- Remove
--allow-scripts=@dynomate/clifrom the install command. Keep--ignore-scripts=false, because the native installer must run.