尋找並執行 Fricle CLI 命令
使用 frc 內建的說明,查找執行 Fricle Host 工作所需的命令和引數。例如,您可以用來列出開發裝置上的終端機工作階段。
範例 · 查找專案終端機的命令
在已安裝 CLI 的裝置上開啟終端機。執行
frc pty --help,並在命令群組中尋找 list。執行
frc pty list --help,查看列出工作階段時可用的引數和選項。執行
frc mcp --help,比較 Fricle Host MCP 服務的命令。請查看您打算執行的子命令說明。

取得說明
執行這些命令以查看命令清單,以及特定命令的選項和引數。即使 Fricle Host 未執行,也能使用說明。
frc --help
frc devices --help
frc relay --help
frc pty --help
範例 — 查看中繼伺服器命令
執行 frc relay --help。尋找 status 以確認中繼伺服器是否正在執行,並尋找 schema 以查看其資料庫。請參閱設定中繼伺服器,瞭解如何在裝置上使用這些命令。
命令
使用此索引查找命令,然後執行 frc <command> --help 查看其引數和選項。請將 <id> 等預留位置替換成您自己的值。方括號表示選用引數。
安裝與裝置
frc usage
使用統計資料。
子命令
frc usage basicfrc usage fullfrc usage noticefrc usage offfrc usage status
frc update
更新。
子命令
frc update autofrc update auto appfrc update auto hostfrc update check
frc setup
註冊並啟動 Fricle Host。
frc status
安裝狀態。
frc teardown
取消註冊 Fricle Host。
frc uninstall
解除安裝 Fricle。
frc paths
目前設定檔的安裝路徑。
frc host
Fricle Host 管理。
子命令
frc host featuresfrc host fs append <path> <text…>frc host fs cat <path>frc host fs cp <from> <to>frc host fs get <remote> <local>frc host fs ls <path> [wait-ms]frc host fs mkdir <path>frc host fs mv <from> <to>frc host fs platformfrc host fs properties <path> [key…]frc host fs put <local> <remote>frc host fs request-access <path> [wait-ms]frc host fs rm <path>frc host fs rmdir <path> [all]frc host fs stat <path>frc host fs write <path> <text…>frc host hosting acceptfrc host hosting ceilingfrc host hosting elevation offfrc host hosting elevation onfrc host hosting offfrc host hosting onfrc host hosting permissionsfrc host hosting permissions clearfrc host hosting permissions grantfrc host hosting permissions revokefrc host hosting recheckfrc host hosting reissuefrc host hosting relay lookupfrc host hosting relay refreshfrc host hosting relay sign-infrc host hosting renew-identityfrc host hosting sign-infrc host hosting statusfrc host hosting tcpfrc host hosting wayfrc host hosting way <id> describefrc host hosting way <id> domainfrc host hosting way <id> filterfrc host restartfrc host service installfrc host service statusfrc host service uninstallfrc host shutdownfrc host startfrc host statusfrc host stop
frc devices
裝置註冊與名稱。
子命令
frc devices addfrc devices add-aliasfrc devices add-sshfrc devices connect-infofrc devices drop-aliasfrc devices listfrc devices removefrc devices renamefrc devices resolvefrc devices set-default
frc relay
中繼伺服器管理。
子命令
frc relay account create <name>frc relay account delete <name>frc relay account disable <name>frc relay account enable <name>frc relay accounts [--offset <n>] [--limit <n>] [--desc]frc relay autostart off [--print]frc relay autostart on [--print]frc relay configure [--bind <address>] [--port <port>]frc relay db-stats [--from <ms>] [--to <ms>] [--node <id>]frc relay device delete <number>frc relay device revoke <number>frc relay devices [--after <id>] [--limit <n>]frc relay devices [--status active|revoked] [--account <name>|--guest] [--platform <p>] [--host-version <v>] [--node <id>] [--seen-since <ms>] [--seen-before <ms>] [--never-seen] [--sort registered|registered-desc|last-seen|last-seen-asc] [--offset <n>] [--limit <n>]frc relay disablefrc relay enablefrc relay kill [--now]frc relay migratefrc relay overviewfrc relay policy [--guests allow|deny] [--minimum-client-version <version|none>]frc relay policy assign <default|guest|signed-in|account:<name>> <id|none>frc relay policy delete <id>frc relay policy listfrc relay policy set <id> [--name <name>] [--access allow|deny] <item flags>frc relay restart [--bind <address>] [--port <port>]frc relay restart-daemonfrc relay schemafrc relay set [--node-id <id>] [--network <address:port>[@tag]]… [--utc-offset <minutes>] [--database <connection>] [--admin-database <connection>] [--service-replica <connection>] [--admin-replica <connection>] [--master-key-env <NAME>] [--forwarding on|off] [--forwarding-interval-seconds <n>] [--forwarding-slack-percent <n>] [--forwarding-slack-bytes <n>] [--forwarding-over-intervals <n>] [--forwarding-burst-factor <n>] [--forwarding-streams-per-session <n>] [--forwarding-streams-total <n>] [--forwarding-window <bytes>] [--usage-record on|off] [--usage-flush-seconds <n>] [--usage-retention-seconds <n>] [--usage-max-bytes <n>] [--usage-database <connection|none>] [--usage-replica <connection|none>] [--log-database <connection|none>] [--log-replica <connection|none>]frc relay start [--bind <address>] [--port <port>]frc relay stats [--since <unix ms>]frc relay statusfrc relay stop
frc account
存取帳戶與權限。
子命令
frc account allow <login> <ip|cidr,…|none>frc account create [<login>] [-p <password>] [--label <text>] [--manage] [--allow <ip|cidr,…>] [--permissions <json>]frc account delete <login>frc account disable <login>frc account enable <login>frc account listfrc account logout <login> <session-id>frc account mcp <login> [--other-servers on|off] [--allow <server>[/<tool>],…] [--deny <server>[/<tool>],…] [--other-tools <server>=on|off,…] [--clear <server>[/<tool>],…] [--reset]frc account owner <login>frc account passwd [<login>] [-p <password>] [--keep-sessions]frc account permissions <login> --permissions <json>frc account permit <login,…> [--preset <name>] [--grant <code,…>] [--revoke <code,…>] [--with-required]frc account sessions <login>frc account unlock [login]
frc token
存取權杖。
子命令
frc token create [--account <login>] [--expires 30d] [--uses <n>] [--name <text>] [--preset <name>] [--grant <code,…>]frc token list [--account <login>]frc token revoke <id>
frc login
frc manage login 的捷徑。
frc manage
管理員登入。
子命令
frc manage login [<login>] [-p <password>]frc manage logoutfrc manage setup [<login>] [-p <password>]frc manage status
檔案與桌面
frc clipboard
剪貼簿與剪貼簿記錄。
子命令
frc clipboard clearfrc clipboard connectfrc clipboard copyfrc clipboard formatsfrc clipboard getfrc clipboard historyfrc clipboard readfrc clipboard remove-historyfrc clipboard restorefrc clipboard watch
frc fs
檔案變更通知。
子命令
frc fs watch
frc git
Git 存放庫與變更。
子命令
frc git commitfrc git repositoriesfrc git stagefrc git status
frc search
檔案搜尋與取代。
子命令
frc search cancelfrc search fetchfrc search listfrc search replacefrc search start
frc disk-usage
資料夾大小與磁碟使用量。
子命令
frc disk-usage clearfrc disk-usage getfrc disk-usage historyfrc disk-usage optionsfrc disk-usage rescanfrc disk-usage scanfrc disk-usage setfrc disk-usage storage
frc media
媒體轉換。
子命令
frc media cancelfrc media convertfrc media encodefrc media status
frc db-queries
資料庫查詢工作階段。
子命令
frc db-queries adoptfrc db-queries closefrc db-queries listfrc db-queries prunefrc db-queries removefrc db-queries reopenfrc db-queries viewfrc db-queries write
frc storage
外部儲存空間連線。
子命令
frc storage addfrc storage authfrc storage connectionsfrc storage deletefrc storage forget-secretfrc storage lsfrc storage mkdirfrc storage mvfrc storage readfrc storage rmfrc storage statfrc storage trustfrc storage write
frc window
作業系統視窗。
子命令
frc window listfrc window watch
frc prompt
作業系統權限提示。
子命令
frc prompt listfrc prompt watch
frc browser
目前連線的瀏覽器事件。
子命令
frc browser watch
frc open
在裝置上開啟項目。
子命令
frc open browserfrc open handlersfrc open pathfrc open privacyfrc open revealfrc open urlfrc open with
frc transfer
檔案傳輸。
子命令
frc transfer <from> <to>frc transfer cancelfrc transfer conflictsfrc transfer getfrc transfer listfrc transfer lsfrc transfer resolvefrc transfer submitfrc transfer tasksfrc transfer waitfrc transfer watch
frc rds
遠端桌面與螢幕擷取。
frc rds capture 會在您執行命令的裝置上儲存 PNG 檔案。
子命令
frc rds capture --out <file.png> [--display <id>] [--rect <x,y,w,h>]frc rds displaysfrc rds permissionsfrc rds request-accessfrc rds retarget display [id]frc rds retarget frontfrc rds retarget window <id> <pid> <start-id>frc rds start <name> [display]frc rds statisticsfrc rds statusfrc rds stopfrc rds watch [--seconds n] [--path auto|line|direct] [--input-every ms] [--size WxH]
終端機與自動化
frc events
事件與訂閱。
子命令
frc events entryfrc events logfrc events publishfrc events readfrc events recordfrc events relay addfrc events relay listfrc events relay removefrc events subscribefrc events topics
frc schedule
排程動作。
子命令
frc schedule addfrc schedule disablefrc schedule enablefrc schedule listfrc schedule removefrc schedule runfrc schedule runs
frc process
處理程序與受管理的處理程序工作階段。
子命令
frc process ancestryfrc process connectionsfrc process connections close <id>frc process handlesfrc process handles listfrc process handles releasefrc process listfrc process session getfrc process session historyfrc process session listfrc process session list-pagefrc process session readfrc process session startfrc process session stopfrc process session watchfrc process session writefrc process statsfrc process usagefrc process watch
frc pty
終端機工作階段。
子命令
frc pty agent-hooks [status|install|uninstall] [claude|codex]frc pty attach <id> --replay-onlyfrc pty attach <id> [--take-control] [--temporary]frc pty capture <id> [--out path] [--format png|jpeg|webp] [--quality N] [--scale N] [--include-text] [--scrollback N] [--wait-ms N] [--json]frc pty detach <id>frc pty detach <id> --control-onlyfrc pty group listfrc pty group new <scope> <name>frc pty group remove <id>frc pty group rename <id> <name>frc pty keys <id> [--take-control] <key…>frc pty kill <id> [--force]frc pty list [--all]frc pty metadata <id> <key> --removefrc pty metadata <id> <key> <value>frc pty move <id> <group>frc pty new [group] [cols rows] [--grace milliseconds|infinite] [--terminal-profile id] [--shell path] [--arg value] [--cwd path] [--env key=value] [--unset-env key] [--scope elevated]frc pty probe <program>frc pty profilesfrc pty read <id> [--json] [--wait-ms N] [--scrollback N] [--offset N] [--limit N]frc pty remove <id> [--force]frc pty rename <id> <name>frc pty resize <id> <cols> <rows>frc pty restore <id>frc pty scope listfrc pty scope new <name>frc pty scope rename <id> <name>frc pty screen <id> [--text] [--json] [--wait-ms N] [--scrollback N] [--offset N] [--limit N]frc pty send <id> [--take-control | --submit] [--submit-delay milliseconds] [--escapes] <text…>frc pty statusfrc pty watch [--id terminal] [--count N] [--timeout-ms N]
AI 與 MCP
frc info
Fricle Host MCP 工具名稱與引數。
frc mcp
透過標準輸入與輸出運作的 Fricle Host MCP 伺服器。
frc web
網頁搜尋與頁面擷取。
子命令
frc web fetchfrc web search
frc agent
Fricle AI 聊天、模型與工作。
子命令
frc agent chatfrc agent chat approvalsfrc agent chat approvefrc agent chat attachfrc agent chat compactfrc agent chat deletefrc agent chat denyfrc agent chat detachfrc agent chat inputsfrc agent chat kind removefrc agent chat kind setfrc agent chat kindsfrc agent chat listfrc agent chat newfrc agent chat permissionfrc agent chat permission devicefrc agent chat readfrc agent chat renamefrc agent chat searchfrc agent chat sendfrc agent chat showfrc agent chat spawnfrc agent chat stopfrc agent chat treefrc agent chat updatefrc agent chat watchfrc agent eventfrc agent event hookfrc agent event hooksfrc agent event remindfrc agent event sendfrc agent event unhookfrc agent featuresfrc agent hooksfrc agent instructionsfrc agent instructions historyfrc agent instructions setfrc agent instructions showfrc agent mcpfrc agent mcp addfrc agent mcp add-jsonfrc agent mcp callfrc agent mcp getfrc agent mcp listfrc agent mcp removefrc agent memory addfrc agent memory historyfrc agent memory listfrc agent memory removefrc agent memory updatefrc agent model capabilitiesfrc agent model featuresfrc agent model features setfrc agent model key listfrc agent model key removefrc agent model key setfrc agent model providersfrc agent model remotefrc agent model remote allowfrc agent model remote denyfrc agent model remote listfrc agent model respondfrc agent model server addfrc agent model server removefrc agent model serversfrc agent run callsfrc agent run listfrc agent run showfrc agent run usagefrc agent settingsfrc agent settings languagefrc agent settings set languagefrc agent settings set modelfrc agent settings set recallfrc agent settings set work-locationfrc agent settings showfrc agent skill listfrc agent skill savefrc agent taskfrc agent task addfrc agent task answerfrc agent task listfrc agent task logfrc agent task pausefrc agent task questionsfrc agent task removefrc agent task resumefrc agent task runfrc agent task runsfrc agent task showfrc agent todo historyfrc agent todo listfrc agent todo setfrc agent todo writefrc agent toolsfrc agent work
frc skill
提供給外部代理程式使用的 Fricle 技能。
子命令
frc skill installfrc skill statusfrc skill update