# Administering your website
# Updating Pixelfed
After you have installed Pixelfed, you may update to the latest commits by pulling the dev branch and doing necessary updates/migration/caching:
cd /path/to/pixelfed git pull origin dev composer install php artisan config:cache php artisan route:cache php artisan migrate --force
# Artisan commands
# User management
user:adminMake a user an admin, or remove admin privileges.
user:createCreate a new user
user:showShow user info
user:suspendSuspend a local user.
user:unsuspendUnsuspend a local user.
user:tableDisplay latest users
For example, you can give a user the admin role with the following command:
php artisan user:admin username_here
# Fix accounts with reserved names
You can run this command to fix accounts created before that username was reserved.
php artisan fix:usernames
# Remove unused media
With this command you can trigger the garbage collection on the media files. This frees up disk space. All files being older than one hour and which are not used in any status are removed.
php artisan media:gc
# Create an OAuth client
You can create an OAuth client from the command line using this command:
php artisan passport:client --personal