@nivo-lat/cli
v1.3.3
Published
Nivo CLI - Deploy and manage applications
Readme
@nivo-lat/cli
Official Nivo CLI. The binary is nivo.
Install
npm install -g @nivo-lat/cliLanguage
Help and prompts are localized. Save the default language on this computer:
nivo lang set pt
nivo lang set en
nivo lang getAuthentication
nivo login
nivo login --manual
nivo me
nivo logoutThe API key is stored in the user's local config file:
- Windows:
%APPDATA%\nivo\config.json - macOS/Linux:
~/.config/nivo/config.json
The key is never written to .nivo and is never printed in full.
Link and deploy
nivo link
nivo deploy --watchnivo link can create the app interactively or read an existing .nivo.
The .nivo file stores only project/app metadata, for example:
{
"appId": "app_123",
"name": "sales-bot",
"projectId": "proj_123",
"sourceType": "zip",
"type": "site",
"buildSystem": "nivopack",
"runtime": "node20",
"installCmd": "npm ci",
"buildCmd": "npm run build",
"startCmd": "npm start",
"ramMb": 256,
"subdomain": "sales-bot"
}For GitHub apps:
{
"appId": "app_123",
"sourceType": "github",
"repoFullName": "owner/repo",
"repoBranch": "main"
}Commands
nivo apps
nivo deployments
nivo logs --tail 300
nivo logs --deployment DEPLOYMENT_ID
nivo deploy --app APP_ID --watchThe deploy flow uses a visual checklist, compact summaries, Unicode tables, short spinners, clickable links when supported by the terminal, and masked credentials.
