# 使用 Homebrew, Nix 安装 osc-cli

查看 osc-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:osc-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install osc-cli
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#osc-cli
```

  证据: nixpkgs package indexes: pkgs/by-name/os/osc-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:osc-cli
- **软件包管理器:** Homebrew
- **版本:** 1.11.0
- **来源摘要:** Official Outscale CLI providing connectors to Outscale API
- **主页:** <https://github.com/outscale/osc-cli>
- **最后更新:** 2026-07-17T19:51:56+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- osc-cli (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.11.0
## 项目历史与用法

OSC CLI is 3DS OUTSCALE's command-line client for its cloud APIs. The official documentation describes it as a CLI developed by 3DS OUTSCALE for managing OUTSCALE Cloud resources, compatible with the OUTSCALE API and AWS-compliant APIs.

### 项目历史

GitHub records outscale/osc-cli as created on 2019-01-10. The project shipped as a Python package/SDK, Homebrew formula, AppImage, and Windows zip, giving OUTSCALE users a scriptable interface around cloud API calls.

The README marks osc-cli as deprecated and no longer actively maintained, recommending octl as OUTSCALE's maintained successor CLI. That changes the package's historical role from primary vendor CLI to legacy compatibility tooling.

### 采用历史

Public adoption evidence is mostly vendor-bounded: the tool serves users of OUTSCALE Cloud rather than a general cloud ecosystem. Its release history shows packaged binaries and the osc-sdk Python distribution, but the upstream project itself points new feature work toward octl.

### 使用方式

Users configure credentials and region data in ~/.osc/config.json, then invoke commands in the form osc-cli SERVICE CALL with optional profile and call parameters. The docs and README show usage such as osc-cli api ReadVms for API requests.

### 为什么软件包爱好者会关心

OSC CLI is notable as a vendor cloud CLI that doubled as an SDK package. Package nerds care mostly because its deprecation illustrates a common lifecycle: cloud providers publish a thin API wrapper, package it for several platforms, then replace it with a newer CLI when API shape or UX expectations change.

### 时间线

- 2019-01-10: GitHub repository created.
- 2021-11-22: release v1.7.1 published with AppImage, zip, and Python package artifacts.
- 2023-06-29: release v1.11.0 published.
- After v1.11.0: README marks osc-cli deprecated and directs users to octl.

### Related projects

- octl is the successor recommended by OUTSCALE. oapi-cli is another OUTSCALE CLI focused on interacting with OUTSCALE APIs.

### 来源

- <https://api.github.com/repos/outscale/osc-cli>
- <https://api.github.com/repos/outscale/osc-cli/releases>
- <https://docs.outscale.com/en/userguide/Installing-and-Configuring-OSC-CLI.html>
- <https://formulae.brew.sh/formula/osc-cli>
- <https://github.com/outscale/oapi-cli>
- <https://github.com/outscale/octl>
- <https://github.com/outscale/osc-cli>
- <https://pypi.org/project/osc-sdk/>
- <https://raw.githubusercontent.com/outscale/osc-cli/main/README.md>


## 安全说明

没有找到 osc-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.osc/config.json

## Credential files

- Unix: ~/.osc/config.json
## 其他软件包管理器记录

- Nix - osc-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/os/osc-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/osc-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/osc-cli.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
