CLI Quickstart: Install, Account & Project Enrollment

Get from a fresh terminal to a building, playable Unity project on AppMana in one continuous flow.

1. Install the AppMana CLI

Requires Node.js 22.16+.

npm install -g @appmana/cli
appmana --help

Verify the installation:

appmana config list

2. Create an Account & Log In

If you do not have an AppMana account yet, create one directly from the CLI (it opens the verification flow and provisions your personal workspace user-<sub-uuid>):

appmana account create

Then authenticate your terminal session using the OAuth device grant:

appmana login

Confirm your active identity and personal workspace namespace:

appmana whoami --remote

3. Enroll a Unity Project into AppMana

Navigate to the root of your Unity project Git repository (where ProjectSettings/ProjectVersion.txt lives) and initialize/enroll the project:

cd /path/to/your-unity-project
appmana projects init

This wizard:

  1. Links your GitHub repository (or uses an existing workspace GitHub integration).
  2. Creates a BuildProject in your personal workspace (user-<id>) with your chosen targets (linux, windows, and/or webgl) and natural-language display name.
  3. Optionally enrolls the repository in AppMana Unlimited LFS (writing .lfsconfig and configuring repository credentials) if your project uses Git LFS:
# Enroll or verify Unlimited LFS manually at any time
appmana lfs enroll
appmana lfs status

4. Trigger Your First Build & Check Status

Trigger a build from the current branch and watch it progress:

appmana build-requests create <project> --webgl
# or for cloud streaming targets:
appmana build-requests create <project> --linux --windows

# Watch build status and logs
appmana build-requests list <project>

Once the WebGL or Streaming build succeeds, open it from the dashboard (Deployment tab) or inspect live sessions and Unity logs right from the CLI:

# List recent sessions and check for Unity errors
appmana sessions list <project> --since 24h
appmana sessions logs <project> <sessionId> --errors-only

# Download an input trace for Unity Editor / PlayMode test replay
appmana sessions download-trace <recordingId> --out ./trace.zip
appmana sessions agent-instructions <recordingId>

For the full CLI command reference and llms.txt integration, see AppMana CLI & llms.txt.