Developer CLI
The Dev CLI is a tool for developers to create and manage apps on ByteNite.
Download & Install
Linux
Follow these steps to install the ByteNite CLI on Ubuntu, Debian, or similar distributions.
- Add the ByteNite Repository 
echo "deb [trusted=yes] https://storage.googleapis.com/bytenite-prod-apt-repo/debs ./" | sudo tee /etc/apt/sources.list.d/bytenite.list- Update Package Lists 
sudo apt update- Install the ByteNite CLI 
sudo apt install byteniteTroubleshooting
If you encounter any issues during installation:
- Make sure your system is up-to-date: - sudo apt update && sudo apt upgrade
- Verify the repository was correctly added: - cat /etc/apt/sources.list.d/bytenite.list
- Check if the package is available: - apt search bytenite
Mac
Installation
- Add the Bytenite Tap 
brew tap ByteNite2/bytenite-dev-cli https://github.com/ByteNite2/bytenite-dev-cli.git- Install the CLI 
brew install byteniteUpdating
- Update Homebrew's formula list (including your tap) 
brew update- Upgrade the bytenite package specifically 
brew upgrade byteniteWindows
Download and run the latest Windows release from ByteNite CLI on GitHub.
Verify Installation
Check that the installation was successful by using:
bytenite versionAuthenticate
To authenticate, run:
bytenite authThis 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-prod.json
- Mac: - /Users/[user]/Library/Application Support/bytenite-cli/auth-prod.json
Commands & Usage
Run the help command to get started with the ByteNite Dev CLI:
bytenite --helpAuthentication
- 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_name]
- Push/Upload App: - bytenite app push [app_folder]
- Pull/Download App: - bytenite app pull [app_tag]
- Get App Details: - bytenite app get [app_tag]
- List Existing Apps: - bytenite app list
- Activate App: - bytenite app activate [app_tag]
- Deactivate App: - bytenite app deactivate [app_tag]
- Get App Status: - bytenite app status [app_tag]
Template Commands
- Template Command Info: - bytenite template --help
- Initialize New Template: - bytenite template new [template_id]
- Push/Upload Template: - bytenite template push [template_filepath]
- 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: - bytenite engine new [engine_name]
- Push/Upload Engine: - bytenite engine push [engine_folder]
- Pull/Download Engine: - bytenite engine pull [engine_tag]
- Get Engine Details: - bytenite engine get [engine_tag]
- List Existing Engines: - bytenite engine list
Last updated
Was this helpful?


