diff --git a/bin/install b/bin/install
index b1ce8a1e..c47036a9 100755
--- a/bin/install
+++ b/bin/install
@@ -4,7 +4,7 @@ use Shlinkio\Shlink\CLI\Command\Install\InstallCommand;
use Symfony\Component\Console\Application;
use Zend\Config\Writer\PhpArray;
-chdir(dirname(__DIR__) . '/..');
+chdir(dirname(__DIR__));
require __DIR__ . '/../vendor/autoload.php';
diff --git a/module/CLI/src/Command/Install/InstallCommand.php b/module/CLI/src/Command/Install/InstallCommand.php
index 39fdebe6..785a004f 100644
--- a/module/CLI/src/Command/Install/InstallCommand.php
+++ b/module/CLI/src/Command/Install/InstallCommand.php
@@ -60,7 +60,7 @@ class InstallCommand extends Command
$output->writeln([
'Welcome to Shlink!!',
- 'This will guide you through the installation process.',
+ 'This process will guide you through the installation.',
]);
// Check if a cached config file exists and drop it if so
@@ -84,7 +84,7 @@ class InstallCommand extends Command
// Generate config params files
$config = $this->buildAppConfig($params);
- $this->configWriter->toFile(__DIR__ . '/../../../../../config/params/generated_config.php', $config, false);
+ $this->configWriter->toFile('config/params/generated_config.php', $config, false);
$output->writeln('Custom configuration properly generated!');
}