code README

The project's README from github.com/nikivdev/code. As one markdown file: README.md.

flow

Everything you need to move your project faster

Install

Install the latest release (macOS/Linux):

curl -fsSL https://myflow.sh/install.sh | sh

Then run:

~/.flow/bin/f --version
~/.flow/bin/f doctor

If f is not found by name immediately, open a new shell (exec zsh -l on zsh).

The installer verifies SHA-256 checksums when available. If you are installing a legacy release that doesn't ship checksums.txt, it will warn and continue (GitHub download only). To bypass verification explicitly (not recommended), set FLOW_INSTALL_INSECURE=1.

Upgrade

Upgrade to the latest release:

f upgrade

Upgrade to the latest canary build:

f upgrade --canary

Switch back to stable:

f upgrade --stable

If you fork Flow (or publish releases under a different repo), set:

If you are upgrading to a very old tag that doesn't ship checksums.txt, you can force bypassing checksum verification with FLOW_UPGRADE_INSECURE=1 (not recommended).

Build From Source

Clone Flow, hydrate the pinned vendor snapshot, and install an optimized local build:

git clone https://github.com/nikivdev/flow.git
cd flow
./scripts/vendor/vendor-repo.sh hydrate
FLOW_PROFILE=release ./scripts/deploy.sh
~/bin/f --version

If you want to populate the vendor checkout yourself first, that works too:

git clone https://github.com/nikivdev/flow-vendor.git .vendor/flow-vendor
./scripts/vendor/vendor-repo.sh hydrate

Dev Fast

Typical local loop:

f setup
f test
f deploy

If you want to inspect tasks first:

f tasks list

Features

To see the current CLI surface:

f --help

For deeper docs, read docs/.

Supported Platforms

Release artifacts are built for:

Contributing

Use Flow and AI. For the full command surface, run f --help. For project docs and workflows, read docs/.

Discord X nikiv.dev

code (nikivdev/code)

Searching Database…

21.1K ·GitHub
这是什么?Flow 是一个命令行工具,安装后就是 f 命令,自称'加快项目推进所需的一切';它的 GitHub 主题标签把它归在 agents 和 autonomy 类别下。
这是我在终端里运行的命令行工具吗?是的——这是一个终端工具。安装后会把 f、flow 和 lin 这几个可执行文件放进 ~/bin,运行 f --help 可以看到完整的命令列表。
安装脚本可以放心直接运行吗,还是我需要先检查些什么?安装程序在有校验和时会验证 SHA-256 校验和;没有 checksums.txt 的旧版本只会警告并继续安装,另外 FLOWINSTALLINSECURE=1 可以跳过验证(不建议这么做)。
它能在 Windows 上运行吗,还是只有 Mac 和 Linux 版本?没有 Windows 版本:发布产物只提供 macOS(arm64、x86_64)和 Linux glibc(arm64、x86_64)版本。
如果我把仓库克隆下来自己改代码,开发流程是什么样的?典型的本地开发流程是:用 f setup 检查工作区和工具链,用 f test 运行测试套件,再用 f deploy 构建并把本地 CLI 安装到你的路径里。
为什么从源码构建时会拉取一个锁定版本的供应商快照?为了保证构建可复现:vendor.lock.toml 锁定了一个公开的供应商仓库,hydrate 脚本会在 .vendor/flow-vendor 已存在时直接复用它,否则从那个确切的 commit 生成 lib/vendor/。
What are similar projects?miniforge, lane, flow, rye, zerobrew, bashka, leviathan, omarchy-apple-dev
Creator
nikivdev
Size
5.5 MB
Stars
21.1K
Age
10y
Commits · 90 Days