Repository navigation
Installation
English | ็น้ซไธญๆ | ๆฅๆฌ่ช | ํ๊ตญ์ด
This guide explains how to install BIT8_CLI 0.1.0, verify the CLI, and install the optional VS Code extension.
Current prebuilt platform: macOS ARM64 / Apple Silicon
For the official prebuilt release:
- macOS
- Apple Silicon Mac (M1 or newer)
- A terminal
- VS Code if you want to use the BIT8_CLI VS Code extension
If you want to build BIT8_CLI from source, you will also need a Rust toolchain with Cargo.
Open the BIT8_CLI 0.1.0 GitHub Release and download:
BIT8-0.1.0-macos-arm64.zip
The release also provides:
bit8-vscode-0.1.0.vsix
BIT8-0.1.0-macos-arm64.sha256
The .vsix file is the standalone VS Code extension package.
The .sha256 file can be used to verify the release files.
GitHub also automatically provides source-code archives. These are source snapshots and are different from the prebuilt macOS ARM64 package.
After extracting:
BIT8-0.1.0-macos-arm64/
โโโ bin/
โ โโโ bit8
โ โโโ bit8-language-server
โโโ vscode/
โ โโโ bit8-vscode-0.1.0.vsix
โโโ README.md
โโโ CHANGELOG.md
โโโ LICENSE
bit8 is the BIT8_CLI command-line executable.
bit8-language-server provides language tooling used by the development environment.
The vscode directory contains the VS Code extension package.
You can test the executable directly from the extracted directory:
./bin/bit8 --helpYou can also check the version:
./bin/bit8 --versionFor BIT8_CLI 0.1.0, the version should report:
0.1.0
If you want to run bit8 without typing its full path, place the executable in a directory included in your PATH.
For example, you may use a personal binary directory such as:
~/.local/bin
After installing it into your PATH, verify:
bit8 --versionand:
bit8 --helpIf another older
bit8installation already exists in yourPATH, make sure your shell is using the 0.1.0 executable.
You can inspect which executable is being used with:
which bit8The release provides:
bit8-vscode-0.1.0.vsix
In VS Code:
- Open the Extensions view.
- Open the Extensions menu (
...). - Choose Install from VSIX...
- Select
bit8-vscode-0.1.0.vsix. - Reload VS Code if requested.
The extension provides BIT8_CLI language tooling, Map Workspace integration, Asset tools, Node editing, and BIT8 GAME.
If you have Rust and Cargo installed, clone the BIT8_CLI repository and run:
cargo install --path . --lockedYou can also run directly from the repository during development:
cargo run -- run <project-path>The Language Service and VS Code extension live in their own project directories inside the repository.
Once the bit8 command is available:
bit8 run <project-path>For example:
bit8 run ./my-gameA BIT8_CLI project normally uses:
main.b8
as its main Script.
Editor and tooling integrations can start BIT8_CLI without opening the native game window:
bit8 host <project-path>Host Mode communicates with a frontend through stdin / stdout using NDJSON.
Most users do not need to use Host Mode directly.
The bit8 executable is not available through your current PATH.
Either run it using its full path:
./bin/bit8 --helpor install it into a directory included in your PATH.
Check:
which bit8
bit8 --versionAn older installation may appear earlier in your PATH.
Reload the VS Code window after installing or replacing the VSIX.
Continue with:
There you will create a minimal BIT8_CLI project and run your first .b8 program.
Current Version: 0.1.0