
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@vtxf/qshell
Advanced tools
七牛云 Qshell 命令行工具的 npm 封装包,支持按需下载,轻量高效。
qshell 是七牛云官方提供的命令行工具,用于管理和操作七牛云对象存储 Kodo 及其他服务。本项目提供智能的按需下载机制,首次使用时自动下载对应平台的二进制文件。
| 平台 | 架构 | 平台键 |
|---|---|---|
| Windows | 32位 (x86) | windows-386 |
| Windows | 64位 (amd64) | windows-amd64 |
| Windows | ARM | windows-arm |
| macOS | Intel | mac-amd64 |
| macOS | Apple Silicon | mac-arm64 |
| Linux | 32位 (x86) | linux-386 |
| Linux | 64位 (amd64) | linux-amd64 |
| Linux | ARM | linux-arm |
| Linux | ARM64 | linux-arm64 |
无需安装,直接使用:
npx @vtxf/qshell -v
首次运行时会自动下载对应平台的二进制文件。
npm install -g @vtxf/qshell
安装后可以直接使用 qshell 命令:
qshell -v
npm install @vtxf/qshell
然后使用 npx:
npx @vtxf/qshell -h
npx @vtxf/qshell -v
首次运行时会显示下载进度:
🔍 Binary not found, initiating download...
📡 Trying source: Qiniu CDN (https://kodo-toolbox-new.qiniu.com/qshell-v2.19.2-...)
⏳ Downloading: 45.2% (5.4MB/12.0MB) - 1250KB/s - 5s remaining
✅ Download completed!
📦 Extracting archive...
✅ Extraction completed!
✅ Successfully installed qshell to /path/to/bin/windows-amd64/qshell.exe
npx @vtxf/qshell -v
npx @vtxf/qshell -h
npx @vtxf/qshell account <AccessKey> <SecretKey> <name>
# 列出所有账号
npx @vtxf/qshell user ls
# 切换账号
npx @vtxf/qshell user cu <name>
# 获取所有空间名称
npx @vtxf/qshell buckets
# 查看空间信息
npx @vtxf/qshell bucket <bucket-name>
# 获取空间关联域名
npx @vtxf/qshell domains <bucket-name>
# 表单上传
npx @vtxf/qshell fput <bucket> <key> <localFile>
# 分片上传
npx @vtxf/qshell rput <bucket> <key> <localFile>
# 批量同步上传(配置式)
npx @vtxf/qshell qupload <config-file>
# 批量同步上传(命令式)
npx @vtxf/qshell qupload2 ...
# 下载单个文件
npx @vtxf/qshell get <bucket> <key>
# 批量同步下载
npx @vtxf/qshell qdownload <config-file>
# 列举空间文件
npx @vtxf/qshell listbucket <bucket>
# 查询文件信息
npx @vtxf/qshell stat <bucket> <key>
# 删除文件
npx @vtxf/qshell delete <bucket> <key>
# 移动/重命名文件
npx @vtxf/qshell move <srcBucket> <srcKey> <destBucket> <destKey>
# 复制文件
npx @vtxf/qshell copy <srcBucket> <srcKey> <destBucket> <destKey>
# 刷新 CDN 外链或目录
npx @vtxf/qshell cdnrefresh <dirs-or-urls-file>
# 预取 CDN 外链
npx @vtxf/qshell cdnprefetch <urls-file>
系统按以下优先级尝试下载源:
七牛云官方 CDN(最快,推荐)
https://kodo-toolbox-new.qiniu.com/GitHub Releases(备用源)
https://github.com/qiniu/qshell/releases如某个源下载失败,系统会自动尝试下一个源。
下载的二进制文件存储位置:
node_modules/@vtxf/qshell/bin/windows-amd64/qshell.exenode_modules/@vtxf/qshell/bin/mac-amd64/qshellnode_modules/@vtxf/qshell/bin/mac-arm64/qshellnode_modules/@vtxf/qshell/bin/linux-amd64/qshell如果需要重新下载或更换版本:
# 删除现有二进制文件
rm -rf node_modules/@vtxf/qshell/bin/*/
# 下次运行时会自动重新下载
npx @vtxf/qshell -v
本包当前封装版本:qshell v2.19.2
建议使用 v2.8.0 及以上版本。
如果遇到下载失败,请检查:
如果出现 "找不到对应平台的 qshell 二进制文件" 错误:
bin/ 目录内容,重新下载在 macOS 或 Linux 上,如果遇到权限错误:
chmod +x node_modules/@vtxf/qshell/bin/*/qshell
如遇到其他问题,请访问:
传统方案(内置所有平台):
按需下载方案(当前):
@vtxf/qshell/
├── bin/ # 二进制文件目录(运行时下载)
│ ├── windows-386/ # Windows 32位
│ ├── windows-amd64/ # Windows 64位
│ ├── windows-arm/ # Windows ARM
│ ├── mac-amd64/ # macOS Intel
│ ├── mac-arm64/ # macOS Apple Silicon
│ ├── linux-386/ # Linux 32位
│ ├── linux-amd64/ # Linux 64位
│ ├── linux-arm/ # Linux ARM
│ └── linux-arm64/ # Linux ARM64
├── lib/ # JavaScript 封装代码
│ ├── main.js # CLI 入口点
│ ├── platform.js # 平台检测模块
│ ├── executor.js # 二进制执行器
│ └── downloader.js # 多源下载器
├── package.json
└── README.md
# 本地链接
npm link
# 测试(会触发首次下载)
qshell -v
MIT License
本项目使用 MIT 许可证。qshell 二进制文件的使用遵循七牛云官方许可证。
注意:本项目为第三方封装的 npm 包,非七牛云官方产品。如有问题建议先到 qshell 官方仓库 查找解决方案。
FAQs
七牛云 Qshell 命令行工具 npm 封装 - 支持按需下载,轻量高效
We found that @vtxf/qshell demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.