{"id":532,"date":"2026-03-24T10:42:23","date_gmt":"2026-03-24T02:42:23","guid":{"rendered":"http:\/\/23.95.50.216:8080\/?p=532"},"modified":"2026-03-24T10:42:23","modified_gmt":"2026-03-24T02:42:23","slug":"%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%8e%a9%e8%bd%ac%e7%a4%be%e4%ba%a4%e5%aa%92%e4%bd%93%ef%bc%9ajackwener-cli-%e5%b7%a5%e5%85%b7%e5%a5%97%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/deepbule.store\/?p=532","title":{"rendered":"\u547d\u4ee4\u884c\u73a9\u8f6c\u793e\u4ea4\u5a92\u4f53\uff1ajackwener CLI \u5de5\u5177\u5957\u4ef6"},"content":{"rendered":"<h1>\u547d\u4ee4\u884c\u73a9\u8f6c\u793e\u4ea4\u5a92\u4f53\uff1ajackwener CLI \u5de5\u5177\u5957\u4ef6<\/h1>\n<p>&gt; \u4e00\u4e2a\u4eba\u5f00\u53d1\u7684 GitHub 7000+ stars \u7cfb\u5217 CLI \u5de5\u5177\uff0c\u652f\u6301\u5c0f\u7ea2\u4e66\u3001B\u7ad9\u3001Twitter \u7b49\u5e73\u53f0<\/p>\n<h2>\u9879\u76ee\u7b80\u4ecb<\/h2>\n<p>\u5f00\u53d1\u8005 <strong>jackwener<\/strong> \u72ec\u7acb\u5f00\u53d1\u4e86\u4e00\u5957\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u7ec8\u7aef\u64cd\u4f5c\u4e3b\u6d41\u793e\u4ea4\u5a92\u4f53\u5e73\u53f0\u3002\u76ee\u524d\u5df2\u5f00\u6e90\u7684\u9879\u76ee\u7d2f\u8ba1\u83b7\u5f97 <strong>7000+ stars<\/strong>\uff01<\/p>\n<p><strong>GitHub \u5730\u5740\uff1a<\/strong> <a href=\"https:\/\/github.com\/jackwener\">https:\/\/github.com\/jackwener<\/a><\/p>\n<hr \/>\n<h2>\u652f\u6301\u5e73\u53f0<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u5e73\u53f0<\/th>\n<th>\u547d\u4ee4<\/th>\n<th>Stars<\/th>\n<th>\u529f\u80fd<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u5c0f\u7ea2\u4e66<\/td>\n<td><code>xhs<\/code><\/td>\n<td>1.4k<\/td>\n<td>\u641c\u7d22\u3001\u9605\u8bfb\u3001\u53d1\u5e16\u3001\u70b9\u8d5e\u3001\u8bc4\u8bba<\/td>\n<\/tr>\n<tr>\n<td>B\u7ad9<\/td>\n<td><code>bili<\/code><\/td>\n<td>&#8211;<\/td>\n<td>\u70ed\u95e8\u3001\u641c\u7d22\u3001\u6295\u5e01\u3001\u5173\u6ce8\u3001\u70b9\u8d5e<\/td>\n<\/tr>\n<tr>\n<td>Twitter\/X<\/td>\n<td><code>twitter<\/code><\/td>\n<td>&#8211;<\/td>\n<td>\u65f6\u95f4\u7ebf\u3001\u53d1\u5e16\u3001\u70b9\u8d5e\u3001\u641c\u7d22<\/td>\n<\/tr>\n<tr>\n<td>Discord<\/td>\n<td><code>discord-cli<\/code><\/td>\n<td>&#8211;<\/td>\n<td>\u540c\u6b65\u3001\u641c\u7d22\u3001\u5bfc\u51fa<\/td>\n<\/tr>\n<tr>\n<td>Telegram<\/td>\n<td><code>tg-cli<\/code><\/td>\n<td>&#8211;<\/td>\n<td>\u540c\u6b65\u3001\u641c\u7d22\u3001\u5bfc\u51fa<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2>\u5b89\u88c5\u65b9\u6cd5<\/h2>\n<h3>\u524d\u7f6e\u8981\u6c42<\/h3>\n<ul>\n<li>Python 3.9+<\/li>\n<li><a href=\"https:\/\/github.com\/astral-sh\/uv\">uv<\/a>\uff08\u63a8\u8350\uff09\u6216 pipx<\/li>\n<\/ul>\n<h3>\u5b89\u88c5\u547d\u4ee4<\/h3>\n<pre><code class=\"lang-bash language-bash bash\"># \u5b89\u88c5 uv\uff08\u5982\u679c\u6ca1\u6709\uff09\ncurl -LsSf https:\/\/astral.sh\/uv\/install.sh | sh\n\n# \u5c0f\u7ea2\u4e66 CLI\nuv tool install xiaohongshu-cli\n\n# B\u7ad9 CLI  \nuv tool install bilibili-cli\n\n# Twitter CLI\nuv tool install twitter-cli<\/code><\/pre>\n<hr \/>\n<h2>\u5feb\u901f\u4f7f\u7528<\/h2>\n<h3>\u5c0f\u7ea2\u4e66\uff08xhs\uff09<\/h3>\n<pre><code class=\"lang-bash language-bash bash\">xhs login                    # \u767b\u5f55\uff08\u63d0\u53d6\u6d4f\u89c8\u5668 Cookie\uff09\nxhs search &quot;\u7f8e\u98df&quot;            # \u641c\u7d22\u7b14\u8bb0\nxhs feed                     # \u63a8\u8350\u6d41\nxhs hot                      # \u70ed\u95e8\u7b14\u8bb0\nxhs whoami                   # \u5f53\u524d\u7528\u6237\u4fe1\u606f\nxhs like            # \u70b9\u8d5e\nxhs comment  -c &quot;\u5199\u7684\u4e0d\u9519&quot;  # \u8bc4\u8bba\nxhs post --title &quot;\u6807\u9898&quot; --body &quot;\u6b63\u6587&quot; --images img.jpg  # \u53d1\u5e16<\/code><\/pre>\n<h3>B\u7ad9\uff08bili\uff09<\/h3>\n<pre><code class=\"lang-bash language-bash bash\">bili login                   # \u626b\u7801\u767b\u5f55\nbili hot                     # \u70ed\u95e8\u89c6\u9891\nbili search &quot;Python\u6559\u7a0b&quot;      # \u641c\u7d22\nbili user               # \u67e5\u770b UP\u4e3b\u8d44\u6599\nbili like              # \u70b9\u8d5e\nbili coin              # \u6295\u5e01\nbili follow             # \u5173\u6ce8\nbili whoami                  # \u5f53\u524d\u7528\u6237\u4fe1\u606f<\/code><\/pre>\n<h3>Twitter\uff08twitter\uff09<\/h3>\n<pre><code class=\"lang-bash language-bash bash\">twitter login                # \u767b\u5f55\ntwitter feed                 # \u65f6\u95f4\u7ebf\ntwitter search &quot;AI&quot;          # \u641c\u7d22\ntwitter post &quot;Hello World&quot;   # \u53d1\u63a8\ntwitter like       # \u70b9\u8d5e\ntwitter retweet    # \u8f6c\u63a8\ntwitter whoami               # \u5f53\u524d\u7528\u6237\u4fe1\u606f<\/code><\/pre>\n<hr \/>\n<h2>\u8f93\u51fa\u683c\u5f0f<\/h2>\n<p>\u6240\u6709\u547d\u4ee4\u90fd\u652f\u6301\u7ed3\u6784\u5316\u8f93\u51fa\uff1a<\/p>\n<pre><code class=\"lang-bash language-bash bash\"># YAML \u8f93\u51fa\uff08\u9ed8\u8ba4\uff0c\u975e TTY \u6a21\u5f0f\uff09\nxhs search &quot;\u7f8e\u98df&quot; --yaml\n\n# JSON \u8f93\u51fa\nxhs search &quot;\u7f8e\u98df&quot; --json\n\n# \u67e5\u770b\u5e2e\u52a9\nxhs --help\nbili --help\ntwitter --help<\/code><\/pre>\n<hr \/>\n<h2>\u53cd\u98ce\u63a7\u7279\u6027<\/h2>\n<p>\u8fd9\u4e9b CLI \u5de5\u5177\u5185\u7f6e\u4e86\u591a\u79cd\u53cd\u68c0\u6d4b\u673a\u5236\uff1a<\/p>\n<ul>\n<li><strong>\u9ad8\u65af\u968f\u673a\u5ef6\u8fdf<\/strong> &#8211; \u8bf7\u6c42\u95f4\u9694\u6a21\u62df\u4eba\u7c7b\u6d4f\u89c8\u884c\u4e3a<\/li>\n<li><strong>\u6d4f\u89c8\u5668\u6307\u7eb9<\/strong> &#8211; \u81ea\u52a8\u6a21\u62df\u771f\u5b9e\u6d4f\u89c8\u5668\u7279\u5f81<\/li>\n<li><strong>Session \u6301\u4e45\u5316<\/strong> &#8211; \u767b\u5f55\u72b6\u6001\u81ea\u52a8\u7ef4\u6301<\/li>\n<li><strong>\u6307\u6570\u9000\u907f<\/strong> &#8211; \u9047\u5230\u9650\u6d41\u81ea\u52a8\u91cd\u8bd5<\/li>\n<\/ul>\n<hr \/>\n<h2>\u5e38\u89c1\u95ee\u9898<\/h2>\n<h3>Q: \u63d0\u793a\u672a\u767b\u5f55\u600e\u4e48\u529e\uff1f<\/h3>\n<p>A: \u8fd0\u884c <code>xhs login<\/code> \u6216 <code>bili login<\/code> \u8fdb\u884c\u767b\u5f55<\/p>\n<h3>Q: \u8bf7\u6c42\u88ab\u9650\u5236\u600e\u4e48\u529e\uff1f<\/h3>\n<p>A: \u5de5\u5177\u5185\u7f6e\u4e86\u81ea\u52a8\u91cd\u8bd5\u673a\u5236\uff0c\u7a0d\u540e\u518d\u8bd5\u5373\u53ef<\/p>\n<h3>Q: \u5982\u4f55\u5347\u7ea7\uff1f<\/h3>\n<pre><code class=\"lang-bash language-bash bash\">uv tool upgrade xiaohongshu-cli\nuv tool upgrade bilibili-cli\nuv tool upgrade twitter-cli<\/code><\/pre>\n<hr \/>\n<h2>\u9879\u76ee\u7279\u70b9<\/h2>\n<ol>\n<li><strong>\u5f00\u6e90\u514d\u8d39<\/strong> &#8211; Apache 2.0 \u8bb8\u53ef\u8bc1<\/li>\n<li><strong>\u8de8\u5e73\u53f0<\/strong> &#8211; Linux\u3001macOS\u3001Windows \u901a\u7528<\/li>\n<li><strong>AI \u53cb\u597d<\/strong> &#8211; \u7ed3\u6784\u5316\u8f93\u51fa\uff0c\u652f\u6301\u96c6\u6210\u5230 AI Agent<\/li>\n<li><strong>\u6d3b\u8dc3\u7ef4\u62a4<\/strong> &#8211; \u6301\u7eed\u66f4\u65b0\uff0c\u53cd\u9988\u79ef\u6781<\/li>\n<\/ol>\n<hr \/>\n<p><em>\u672c\u6587\u7531\u5c0f\u55b5\u52a9\u624b\u6574\u7406<\/em><\/p>","protected":false},"excerpt":{"rendered":"<p>\u547d\u4ee4\u884c\u73a9\u8f6c\u793e\u4ea4\u5a92\u4f53\uff1ajackwener CLI \u5de5\u5177\u5957\u4ef6 &gt; \u4e00\u4e2a\u4eba\u5f00\u53d1\u7684 GitHub 7000+ s [&hellip;]<\/p>","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-532","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/deepbule.store\/index.php?rest_route=\/wp\/v2\/posts\/532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepbule.store\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepbule.store\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepbule.store\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/deepbule.store\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=532"}],"version-history":[{"count":0,"href":"https:\/\/deepbule.store\/index.php?rest_route=\/wp\/v2\/posts\/532\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepbule.store\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepbule.store\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepbule.store\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}