You simply 'cd' into the folder where your entire application is located.
Your application might be located in /var/www/my-app
You then simply cd into the my-app folder and run the installation process for filament.
Are you in the application/laravel folder when executing the artisan command? You might have installed Composer globally allowing you to install packages outside your application folder.