Install the FastMoss CLI安装 FastMoss CLIFastMoss CLI をインストール
Six short steps, from nothing installed to your agent pulling live TikTok Shop data. No prior command-line experience needed — copy each command exactly as shown.六个小步骤,从零到你的 agent 能拉取实时 TikTok 电商数据。不需要任何命令行经验——每条指令照着复制即可。6つの簡単なステップで、何もインストールしていない状態からエージェントが実際の TikTok ショップデータを取得できるようになります。コマンドラインの経験は不要です——各コマンドをそのままコピーしてください。
Before you start — two things开始前——先备好两样东西始める前に — 2つの準備
1. Node.js. The CLI runs on Node (it gives you the npm command). Open your terminal and type npm -v. If you see a version number, you're set. If it says "command not found", install Node from 1. Node.js。CLI 运行在 Node 上(它提供 npm 指令)。打开终端输入 npm -v,若显示版本号就没问题;若提示「command not found」,先到 1. Node.js。CLI は Node 上で動作します(npm コマンドを使用)。ターミナルを開いて npm -v と入力。バージョン番号が表示されれば OK。「command not found」と表示された場合は、nodejs.org first. 安装 Node。 から Node をインストールしてください。
2. A FastMoss API key. You'll paste it in Step 3. Don't have one? 2. 一个 FastMoss API Key。第 3 步会用到。还没有?2. FastMoss API キー。ステップ3で使用します。まだお持ちでないですか?Grab one — free 3-day trial ↗去领取——免费 3 天试用 ↗無料トライアルを入手 ↗
- Install the CLI. In your terminal, run the command below.
-ginstalls it globally so you can callfastmossfrom anywhere. This takes a few seconds.安装 CLI。在终端执行下面这条指令。-g表示全局安装,之后在任何地方都能调用fastmoss。大约几秒钟。CLI をインストール。ターミナルで以下のコマンドを実行。-gはグローバルインストールを意味し、どこからでもfastmossを呼び出せるようになります。数秒かかります。npm install -g @fastmoss/cli@latestDon't want to install anything? Run
npx -y @fastmoss/cli@latestinstead — it downloads and runs the CLI once, nothing left behind.不想安装任何东西?改用npx -y @fastmoss/cli@latest——它会临时下载并运行 CLI 一次,用完不留痕迹。インストールしたくない場合:代わりにnpx -y @fastmoss/cli@latestを実行——CLI を一時的にダウンロードして実行し、痕跡を残しません。 - Start the CLI. Type
fastmossand press Enter. You'll drop into the FastMoss prompt — thatfastmoss >is where every command below goes.启动 CLI。输入fastmoss并回车。你会进入 FastMoss 提示符——下面每条指令都在这个fastmoss >里输入。CLI を起動。fastmossと入力して Enter。FastMoss プロンプトが表示されます——以下のコマンドはすべてこのfastmoss >に入力します。fastmoss$ fastmoss
Interactive mode started. Type help to view commands, or exit to quit.
fastmoss > - Connect your API key. Easiest way: paste your key into the slot below, click Copy, then paste the whole line at the
fastmoss >prompt and press Enter. It's saved for every future session.连接你的 API Key。最简单的做法:把你的 Key 贴进下面的空格,点 Copy,然后把整行贴到fastmoss >提示符后回车。之后每次都会自动记住。API キーを接続。簡単な方法:キーを下の欄に貼り付け、Copy をクリックし、行全体をfastmoss >プロンプトに貼り付けて Enter。以後のセッションで保存されています。set api-key 12⚠ Paste your own API key into the slot before copying — the command won't work with it left blank.复制前先把你自己的 API Key 贴进空格——留空的话指令无法运作。Get your key ↗获取你的 Key ↗キーを入手 ↗Prefer not to show your key on screen? Type
logininstead and paste the key when it asks — your input stays hidden. Same result, saved the same way.不想让 Key 显示在屏幕上?改输入login,在它提示时粘贴 Key——输入内容会被隐藏。效果相同,同样会保存。キーを画面に表示したくない場合?代わりにloginと入力し、要求されたときにキーを貼り付け——入力は非表示になります。同じ結果で、同じ方法で保存されます。 - Check you're connected. Run
whoamito confirm the key is recognized, thentoolsto see everything your agent can now call.确认已连接。执行whoami确认 Key 已被识别,再执行tools看看你的 agent 现在能调用哪些工具。接続を確認。whoamiを実行してキーが認識されていることを確認し、次にtoolsを実行してエージェントが呼び出せるすべてのツールを表示。whoamitoolswhoamishould print your account as JSON. If it says you're not logged in, redo Step 3 — the key slot was probably left blank.whoami会以 JSON 打印你的账号。若提示未登录,请重做第 3 步——多半是 Key 空格没填。whoamiはアカウントを JSON で表示します。ログインしていないと表示された場合は、ステップ3をやり直してください——キー欄が空欄だった可能性があります。 - Set the language (optional). Switch the CLI's messages between English and Chinese.设置语言(可选)。在英文与中文之间切换 CLI 的提示信息。言語設定(オプション)。CLI のメッセージを英語と中国語で切り替えます。set language en-USset language zh-CN
- You're done — try it. From here your agent calls tools on its own. To test it yourself, run a tool directly (real US beauty-creator search below), or type
helpfor the full list.exitleaves the CLI.完成了——试一下。从现在起,你的 agent 会自己调用工具。想自己测试,可直接跑一个工具(下面是真实的美区美妆达人搜索),或输入help看完整清单。输入exit退出 CLI。完了 — 試してみましょう。これでエージェントは自分でツールを呼び出せるようになります。自分でテストするには、ツールを直接実行するか(以下は実際の米国ビューティークリエイター検索)、helpで完全なリストを表示。exitで CLI を終了します。creator_search --args '{"keywords":"beauty","region":"US"}'General form for any tool:
call --tool <name> --args '<json>'. See the 调用任意工具的通用写法:call --tool <name> --args '<json>'。完整清单见 任意のツールの一般形式:call --tool <name> --args '<json>'。詳細は Help page帮助页面ヘルプページ for every command. 。 をご覧ください。