Docs Menu
Docs Home
/ /
Atlas CLI
/ /

atlas plugin install

이 페이지의 내용

  • 구문
  • arguments
  • 옵션
  • 상속된 옵션
  • 예제

GitHub 리포지토리에서 Atlas CLI 플러그인을 설치합니다.

GitHub 리포지토리에서 Atlas CLI 플러그인을<github-owner><github-repository-name>설치합니다. " / " 형식 또는 전체 URL을 사용하여 GitHub 리포지토리를 지정할 수 있습니다. 플러그인을 설치하면 기본적으로 GitHub의 최신 릴리스가 사용됩니다. 플러그인의 특정 버전을 설치하려면 @ 기호를 사용하여 플러그인 이름에 직접 버전 번호를 추가합니다.

MongoDB는 다음과 같은 예시 플러그인을 제공합니다: https://github.com/mongodb/atlas-cli-plugin-example

명령 구문
atlas plugin install [<github-owner>/<github-repository-name>] [options]
이름
유형
필수 사항
설명
<github-owner>/<github-repository-name>
문자열
거짓
리포지토리 식별자입니다.
이름
유형
필수 사항
설명
-h, --help
거짓
설치 도움말
이름
유형
필수 사항
설명
-P, --profile
문자열
거짓
구성 파일에서 사용할 프로필의 이름입니다. Atlas CLI의 프로필에 대해 자세히 알아보려면 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings를 참조하세요.
# Install the latest version of the plugin:
atlas plugin install mongodb/atlas-cli-plugin-example
atlas plugin install https://github.com/mongodb/atlas-cli-plugin-example
# Install a specific version of the plugin:
atlas plugin install mongodb/atlas-cli-plugin-example@1.0.4
atlas plugin install https://github.com/mongodb/atlas-cli-plugin-example/@v1.2.3

돌아가기

plugin