How to Use raspi-config on Raspberry Pi: Quick Guide
Use
raspi-config by running it in the terminal with sudo raspi-config. It opens a menu where you can configure settings like network, localization, and interfaces easily.Syntax
The basic syntax to run the Raspberry Pi configuration tool is:
sudo raspi-config: Runs the configuration tool with administrator rights.- The tool opens a text-based menu to navigate and change settings.
bash
sudo raspi-config
Example
This example shows how to open raspi-config and enable the SSH server for remote access.
bash
sudo raspi-config # Navigate to 'Interfacing Options' > 'SSH' > 'Enable' > 'Finish' > Reboot if prompted
Output
Raspberry Pi Software Configuration Tool (raspi-config)
1 Change User Password
2 Network Options
3 Boot Options
4 Localisation Options
5 Interfacing Options
6 Performance Options
7 Advanced Options
8 Update
Select an option:
Common Pitfalls
Common mistakes when using raspi-config include:
- Not running with
sudo, which causes permission errors. - Not rebooting after changing some settings, so changes don’t apply.
- Using arrow keys incorrectly; use Enter to select and Esc to go back.
bash
raspi-config # Wrong: Running without sudo causes permission denied errors sudo raspi-config # Right: Run with sudo to access all options
Quick Reference
| Option | Description |
|---|---|
| Change User Password | Update the default 'pi' user password. |
| Network Options | Set Wi-Fi country, hostname, and network settings. |
| Boot Options | Choose boot to desktop or command line. |
| Localisation Options | Set timezone, keyboard layout, and language. |
| Interfacing Options | Enable or disable interfaces like SSH, SPI, I2C. |
| Performance Options | Adjust CPU and GPU settings. |
| Advanced Options | Configure memory split, audio, and other advanced settings. |
| Update | Update the raspi-config tool to the latest version. |
Key Takeaways
Always run raspi-config with sudo to have full access.
Use arrow keys and Enter to navigate the menu easily.
Reboot your Raspberry Pi after changing settings to apply them.
raspi-config helps configure network, interfaces, localization, and boot options quickly.
Keep raspi-config updated using the Update option for best features.