CLI
Configuration
Here's how to view and change your CLI settings.
Configuration Commands
The CLI has a few simple commands to help you manage your settings.
config show
Shows all your current settings.
ajs config show
config get
Gets the value of one specific setting.
ajs config get <key>
Arguments:
Argument | Description | Required |
---|---|---|
<key> | The setting you want | Yes |
Example:
ajs config get git
config set
Changes a setting to a new value.
ajs config set <key> <value>
Arguments:
Argument | Description | Required |
---|---|---|
<key> | The setting to change | Yes |
<value> | The new value | Yes |
Example:
ajs config set git https://github.com/myorg/interfaces.git
config reset
Resets configuration to default values.
ajs config reset
What it does:
Resets all configuration values back to their default settings.
Example:
ajs config reset
Available Settings
Here are the settings you can change:
Setting | What it does | Default |
---|---|---|
git | Where to find templates, modules and interfaces | https://github.com/antelopejs/interfaces.git |
packageManager | Which package manager to use for installations | pnpm |
Valid Package Managers
When setting the packageManager
option, you can choose from:
npm
- Uses npm install/npm install --save-dev for package installationyarn
- Uses yarn/yarn add --dev for package installationpnpm
- Uses pnpm install/pnpm add -D for package installation (default)
Example:
ajs config set packageManager npm
Where Settings Are Stored
Your settings are saved in a file on your computer:
- Linux/macOS:
~/.antelopejs/config.json
- Windows:
%USERPROFILE%\.antelopejs\config.json
Tip: Always use the commands above to change settings rather than editing this file directly.