(1)安装re2c



sudo apt install re2c



(2)下载项目



git clone --depth 1 -b $(git ls-remote https://github.com/zephir-lang/zephir 0.15.* | sort -t/ -k3 -Vr | head -n1 | awk -F/ '{ print $NF }') https://github.com/zephir-lang/zephir



提示错误

zephir_linux

 忽略安装



composer install --ignore-platform-req=ext-gmp



(3)查看

zephir_vue_02

 (4)生成扩展



./zephir init utils