> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloudtype.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 설치

> ale에서 어플리케이션을 관리하는 페이지입니다.

## CLI 설치하기

### 사전준비

CLI 를 사용하려면 `Node.js` 설치가 필요합니다.
Node.js 공식웹사이트 혹은 nvm 을 통해서 Node.js v12 이상을 설치하세요.

```sh theme={null}
$ npm i -g @cloudtype/cli
```

### 로그인

#### username / password

```sh theme={null}
$ ctype login
# 혹은
$ ctype login -u username -p password
```

#### API key token

API Key 발급은 [API Key 발급받기](/ko/developers/apikey) 페이지를 참고하세요.

```sh theme={null}
$ ctype login -t API_KEY_TOKEN
```

### 프로젝트 생성

프로젝트가 없다면 새로운 프로젝트를 생성하세요.

```sh theme={null}
$ ctype project create myproject
```

### 프로젝트 조회

```sh theme={null}
$ ctype projects
Current scope is "@demo"
NAME                CREATED
myproject           2022-01-11 03:57:30
```

### 현재 프로젝트 및 배포환경 조회

```sh theme={null}
$ ctype use
Current stage is @demo/myproject:main on gke-seoul-1
```

### 프로젝트 전환

```sh theme={null}
$ ctype use myproject # 배포환경을 지정하지 않으면 기본 배포환경(main)으로 전환됩니다.
# 혹은
$ ctype use myproject:main
```

### 배포환경 전환

```sh theme={null}
$ ctype use :development
```

### 팀 스코프 지정

```sh theme={null}
$ ctype use @teamname/myproject:main
```
