← 全部工具

aftman

热度 85 更新于 开发与构建

Toolchain manager for Roblox, the prodigal sequel to Foreman

homebrewauto-collected

安装

Homebrew
brew install aftman

通过 Homebrew 安装。

<h1 align="center"⚠️ Aftman is no longer maintained! ⚠️</h1

I recommend using mise-en-place as a replacement. It's a fantastic tool that does everything Aftman does and more! You can learn more in this issue I've filed.

---

Aftman

Aftman is a toolchain manager. It enables installing project-specific command line tools and switching between them seamlessly.

$ rojo --version
Rojo 7.5.1

$ cat ~/.aftman/aftman.toml
[tools]
rojo = "rojo-rbx/rojo@7.5.1"

$ cd uses-rojo-6
$ rojo --version
Rojo 6.2.0

$ cat aftman.toml

rojo = "rojo-rbx/rojo@6.2.0"


## Supported Platforms
Aftman supports:

- Windows (x86, x86-64)
- macOS (x86-64, AArch64)
- Linux (x86, x86-64, AArch64)

## Installation
You can install Aftman by downloading a pre-built binary for your platform from Aftman's [GitHub Releases Page](https://github.com/LPGhatguy/aftman/releases).

Once you have the release unzipped, run:
./aftman self-install

This will install Aftman to its own bin directory and update your system's PATH environment variable for you.

Getting Started

To create a new aftman.toml file in your current directory, run

aftman init

To add a new tool, you can follow the instructions in the file, or run

aftman add rojo-rbx/rojo

# install a specific version
aftman add rojo-rbx/rojo@7.5.1

# install with a different binary name
aftman add BurntSushi/ripgrep rg

If your PATH is configured correctly (see Installation), you will now be able to run that tool from your project.

To install a tool system-wide so that it can be used anywhere, edit ~/.aftman/aftman.toml or run

aftman add --global rojo-rbx/rojo