Azure / Azure/azure-cli

unable to add extension [Permission denied: '/opt/az/extensions']

Open
#23,221 8 comments 0 reactions 1 assignee Assigned to @jiasli View on GitHub
Azure CLI Team Extensions question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az extension add`

**Errors:**
```
An error occurred. Pip failed with status code 2. Use --debug for more information.

```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az extension add --name {}`

## Expected Behavior

## Environment Summary
```
Linux-5.4.0-1086-azure-x86_64-with-glibc2.27, Ubuntu 18.04.6 LTS
Python 3.10.5
Installer: DEB

azure-cli 2.38.0
```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.