LoginSignup
10
12

More than 3 years have passed since last update.

【Heroku】アプリを削除する方法

Posted at

プログラミング勉強日記

2021年2月12日

Herokuコマンドを使ってアプリを削除する方法

 Herokuアプリとリモートリポジトリの設定を全て削除する。

$ heroku apps:destroy --app アプリ名
// アプリ名をもう一度入力する

 上のコマンドではもう一度アプリ名を入力してから削除されるが、下記のコマンドではアプリ名を入力しなくても削除できる。

$ heroku apps:destroy --app アプリ名 --confirm アプリ名

サイトからアプリを削除する

1. Herokuにログインする

 サイトからHerokuにログインして、対象のアプリを選択する。

2. settingタブをクリックする

image.png

3. Delete Appをクリック

 Settingの一番下にあるDelete Appをクリックする。

image.png

4. アプリ名を入力して実行する

 アプリ名を入力してDelete Appを押す。

image.png

5. GitのリモートリポジトリのHerokuを消す

$ git remote rm heroku
10
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
12