Debian 12 Expert CLI Install

Nov 19 2025

First off, you may wonder why I'm writing this guide for Debian 12 when Debian 13 just came out. The reason for this is because Debian 13 doesn't seem to be compatible with Whonix. Besides Debian 12 will receive security updates until 2028. So let's install it!

Let's assume you have already created installation media such as a DVD or USB drive.

- If you have not created installation media and you have Windows, follow this guide.

- But don't install Ubuntu! Instead download Debian 12.12 ISO from the following link.

Boot installation media on your laptop or PC by entering BIOS and changing boot order.

If you've made it this far, great work! Now we are ready to begin the installation.

01. Select 'Accessible dark contrast installer menu'

Debian 12 installation terminal screeshot

02. Select 'Advanced options'

Debian 12 installation terminal screeshot

03. Select 'Expert Install'

Debian 12 installation terminal screeshot

04. Just hit Enter.

Debian 12 installation terminal screeshot

05. Just hit Enter.

Debian 12 installation terminal screeshot

06. Just hit Enter.

Debian 12 installation terminal screeshot

07. Just hit Enter.

Debian 12 installation terminal screeshot

08. Just hit Enter.

Debian 12 installation terminal screeshot

09. Just hit Enter.

Debian 12 installation terminal screeshot

10. Just hit Enter.

Debian 12 installation terminal screeshot

11. Just hit Enter.

Debian 12 installation terminal screeshot

12. Just hit Enter.

Debian 12 installation terminal screeshot

13. Just hit Enter.

Debian 12 installation terminal screeshot

14. Just hit Enter.

Debian 12 installation terminal screeshot

15. Just hit Enter.

Debian 12 installation terminal screeshot

16. Just hit Enter.

Debian 12 installation terminal screeshot

17. Just hit Enter.

Debian 12 installation terminal screeshot

18. Just hit Enter.

Debian 12 installation terminal screeshot

19. Just hit Enter.

Debian 12 installation terminal screeshot

20. Type the Host name. Hit Enter.

Debian 12 installation terminal screeshot

21. Type Domain name. Hit Enter.

Debian 12 installation terminal screeshot

22. Just hit Enter.

Debian 12 installation terminal screeshot

23. Select 'No'. Hit Enter.

Debian 12 installation terminal screeshot

24. Type full name. Hit Enter.

Debian 12 installation terminal screeshot

25. Type user name. Hit Enter. Remember this name. You will need it to sign in.

Debian 12 installation terminal screeshot

26. Type password. Hit Enter. Write this password down and keep it safe.

Debian 12 installation terminal screeshot

27. Retype password. Hit Enter. Write this password down and keep it safe.

Debian 12 installation terminal screeshot

28. Just hit Enter.

Debian 12 installation terminal screeshot

29. Just hit Enter.

Debian 12 installation terminal screeshot

30. Just hit Enter.

Debian 12 installation terminal screeshot

31. Select your time zone. Hit Enter.

Debian 12 installation terminal screeshot

32. Just hit Enter.

Debian 12 installation terminal screeshot

33. Just hit Enter.

Debian 12 installation terminal screeshot

34. Select 'use entire disk and set up encrypted LVM'. Hit Enter.

Debian 12 installation terminal screeshot

35. Select disk. Use your brain here. Don't select the installation USB drive!

Debian 12 installation terminal screeshot

36. Just hit Enter.

Debian 12 installation terminal screeshot

37. Select 'Yes'. Hit Enter.

Debian 12 installation terminal screeshot

38. Type Password. Hit Enter. Write this password down and keep it safe.

Debian 12 installation terminal screeshot

39. Retype password. Hit Enter. Write this password down and keep it safe.

Debian 12 installation terminal screeshot

40. Just hit Enter.

Debian 12 installation terminal screeshot

41. Just hit Enter.

Debian 12 installation terminal screeshot

42. Just hit Enter.

Debian 12 installation terminal screeshot

43. Select 'Yes'. Hit Enter.

Debian 12 installation terminal screeshot

44. Just hit Enter.

Debian 12 installation terminal screeshot

45. Just hit Enter.

Debian 12 installation terminal screeshot

46. Just hit Enter.

Debian 12 installation terminal screeshot

47. Just hit Enter.

Debian 12 installation terminal screeshot

48. Just hit Enter.

Debian 12 installation terminal screeshot

49. Just hit Enter.

Debian 12 installation terminal screeshot

50. Just hit Enter.

Debian 12 installation terminal screeshot

51. Select 'Sweden'. Hit Enter.

Debian 12 installation terminal screeshot

52. Just hit Enter.

Debian 12 installation terminal screeshot

53. Just hit Enter.

Debian 12 installation terminal screeshot

54. Just hit Enter.

Debian 12 installation terminal screeshot

55. Just hit Enter.

Debian 12 installation terminal screeshot

56. Select 'Yes'. Hit Enter. This allows you to download Tor Browser using CLI.

Debian 12 installation terminal screeshot

57. Just hit Enter.

Debian 12 installation terminal screeshot

58. Just hit Enter.

Debian 12 installation terminal screeshot

59. Just hit Enter.

Debian 12 installation terminal screeshot

60. Optionally, Select 'Install security updates automatically'. Hit Enter.

Debian 12 installation terminal screeshot

61. Just hit Enter.

Debian 12 installation terminal screeshot

62. Deselect all boxes except bottom one using arrows and Spacebar. Hit Enter.

note: When installing like an expert start off with command line interface only and add minimal desktop environment, such as i3-wm or mate-core or even gnome-core as needed. A minimal install saves system memory and increases security by reducing attack surface.

Debian 12 installation terminal screeshot

63. Just hit Enter.

Debian 12 installation terminal screeshot

64. Just hit Enter.

Debian 12 installation terminal screeshot

65. Just hit Enter.

Debian 12 installation terminal screeshot

66. Use your brain. Select your main hdd/ssd not the usb. Hit Enter.

Debian 12 installation terminal screeshot

67. Just hit Enter.

Debian 12 installation terminal screeshot

68. Just hit Enter.

Debian 12 installation terminal screeshot

69. Just hit Enter. That's it, you're done installing.

Debian 12 installation terminal screeshot

70. When you reboot you'll see this screen. Just hit Enter.

Next you'll be asked for your encryption password, user name, and user password. Hope you wrote them down somewhere safe. Great work!

Debian 12 installation terminal screeshot