diff --git a/cli/init.js b/cli/init.js
index 96160b0b89..5a36509574 100644
--- a/cli/init.js
+++ b/cli/init.js
@@ -18,7 +18,11 @@ const form = [{
 }, {
 	type: 'input',
 	name: 'url',
-	message: 'URL you want to run Misskey:'
+	message: 'URL you want to run Misskey:',
+	validate: function(wannabeurl) {
+		return wannabeurl.match('^http\(s?\)://') ? true :
+		       'URL needs to start with http:// or https://';
+	}
 }, {
 	type: 'input',
 	name: 'port',