ByteNite Dev CLI
Last updated
Was this helpful?
Last updated
Was this helpful?
The Dev CLI is a tool for developers to create and manage apps on ByteNite.
Download the Latest Version
Get the latest ByteNite CLI release from GitHub.
Executable files are available for Unix-like systems (e.g., Linux, macOS) and Windows.
Rename the Executable
For convenience, rename the downloaded file to bytenite
to avoid typing the full command bytenite-cli-[release]
each time.
Set Executable Permissions
Ensure the file has executable permissions:
Install Globally (Optional)
To install the executable globally, move it to a directory included in your system's PATH
, such as /usr/local/bin
or /usr/bin
. Use the following command:
Verify Installation
Run the executable from anywhere using:
To authenticate, run:
This will open an oAuth2 authentication page in your browser. The login is automatic if you're already logged in on ByteNite.
After successful authentication, credentials will be stored in the application support or configuration directory:
Linux: /$HOME/.config/bytenite-cli/auth.json
Mac: /Users/[user]/Library/Application Support/bytenite-cli/auth.json
Run the help command to get started with the ByteNite Dev CLI:
Authentication
Authenticate with OAuth2: bytenite auth
Version
Get Dev CLI Version: bytenite version
App Commands
App Command Info: bytenite app --help
Initialize New App: bytenite app new [app_id]
Push/Upload App: bytenite app push [app_dir]
Pull/Download App: bytenite app pull [app_id]
Get App Details: bytenite app get [app_id]
List Existing Apps: bytenite app list
Activate App: bytenite app activate [app_id]
Deactivate App: bytenite app deactivate [app_id]
Get App Status: bytenite app status [app_id]
Template Commands
Template Command Info: bytenite template --help
Initialize New Template: bytenite template new [template_id]
Push/Upload Template: bytenite template push [template.json]
Pull/Download Template: bytenite template pull [template_id]
Get Template Details: bytenite template get [template_id]
List Existing Templates: bytenite template list
Engine Commands
Engine Command Help: bytenite engine --help
Initialize New Engine:
Partitioner: bytenite engine partitioner new [engine_id]
Assembler: bytenite engine assembler new [engine_id]
Push/Upload Engine: bytenite engine push [engine_dir]
Pull/Download Engine: bytenite engine pull [engine_id]
Get Engine Details: bytenite engine get [engine_id]
List Existing Engines: bytenite engine list