/usr/local/bin。如果这个目录不可写,脚本可能会使用 sudo。iwr https://file-assets.hifox.cn/download/install.ps1 -UseBasicParsing -OutFile install.ps1
powershell -File install.ps1 -Product hifox -BinaryName hifox -BaseUrl https://file-assets.hifox.cn/download%USERPROFILE%\.hifox\bin\hifox.exeauth logout 只会移除本机保存的令牌,不会吊销服务端的个人访问令牌。如果要让令牌彻底失效,请到 设置 → 个人访问令牌 中删除对应令牌。connect machine,而不是 login --install-token。| 令牌 | 前缀 | 用途 |
|---|---|---|
| 个人访问令牌 | hfx_ | 代表你的账号登录 CLI 或访问 API。 |
| 机器安装令牌 | hit_ | 用于把一台机器连接到组织,通常由连接机器向导生成。 |