{"id":1146,"date":"2024-09-13T10:20:09","date_gmt":"2024-09-13T10:20:09","guid":{"rendered":"https:\/\/zahiralam.com\/blog\/?p=1146"},"modified":"2024-09-13T12:47:21","modified_gmt":"2024-09-13T12:47:21","slug":"step-by-step-guide-install-svn-1-14-3-on-apple-m1-m2-and-m3-macs","status":"publish","type":"post","link":"https:\/\/zahiralam.com\/blog\/step-by-step-guide-install-svn-1-14-3-on-apple-m1-m2-and-m3-macs\/","title":{"rendered":"Step-by-Step Guide: Install SVN 1.14.3 on Apple M1, M2, and M3 Macs"},"content":{"rendered":"\n<p>Apache Subversion (SVN) is a powerful version control system widely used for managing source code and collaborative projects. If you&#8217;re using an Apple Silicon Mac (M1, M2, or M3), installing SVN requires a few specific steps. This tutorial will guide you through the process, ensuring you have SVN 1.14.3 up and running in no time.\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Prerequisites<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Apple Silicon Mac<\/strong> (M1, M2, or M3)<\/li>\n\n\n\n<li><strong>Terminal Access<\/strong><\/li>\n\n\n\n<li><strong>Homebrew Installed<\/strong><\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Note:<\/strong> If you haven&#8217;t installed Homebrew yet, follow this quick setup guide: <a href=\"https:\/\/zahiralam.com\/blog\/mastering-homebrew-quick-setup-on-mac-m1-m2-and-m3\/\">Mastering Homebrew: Quick Setup on Mac M1, M2, and M3<\/a>.\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Open Terminal<\/strong><\/h3>\n\n\n\n<p>Launch the Terminal application on your Mac. You can find it by:\n\n\n\n<ul class=\"wp-block-list\">\n<li>Pressing <strong>Command (\u2318) + Space<\/strong> to open Spotlight Search, then typing <strong>&#8220;Terminal&#8221;<\/strong>.<\/li>\n\n\n\n<li>Or navigating to <strong>Applications<\/strong> &gt; <strong>Utilities<\/strong> &gt; <strong>Terminal<\/strong>.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Update Homebrew<\/strong><\/h3>\n\n\n\n<p>Before installing SVN, ensure that Homebrew is up to date.\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-1\">brew update<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#brew%20update\">\n                            <button class=\"copy-button\" data-label=\"brew update\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<p>This command fetches the latest list of available packages and updates Homebrew itself if necessary.\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Install SVN 1.14.3<\/strong><\/h3>\n\n\n\n<p>Install SVN using Homebrew with the following command:\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-2\">brew install svn<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#brew%20install%20svn\">\n                            <button class=\"copy-button\" data-label=\"brew install svn\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<p>Homebrew will download and install SVN 1.14.3 (or the latest available version) along with any required dependencies.\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: Verify the Installation<\/strong><\/h3>\n\n\n\n<p>After the installation completes, verify that SVN is installed correctly:\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-3\">svn --version<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#svn%20--version\">\n                            <button class=\"copy-button\" data-label=\"svn --version\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<p>You should see output similar to:\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-4\">svn, version 1.14.3 (r1886195)<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#svn%2C%20version%201.14.3%20%28r1886195%29\">\n                            <button class=\"copy-button\" data-label=\"svn, version 1.14.3 (r1886195)\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 5: Configure Your Environment (Optional)<\/strong><\/h3>\n\n\n\n<p>If you plan to use SVN frequently, consider adding it to your shell profile for easy access.\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Zsh Users (default on macOS Catalina and later):<\/strong><\/li>\n<\/ul>\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-5\">echo &#039;export PATH=&quot;\/usr\/local\/bin:$PATH&quot;&#039; &gt;&gt; ~\/.zshrc\nsource ~\/.zshrc<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#echo%20%27export%20PATH%3D%22%2Fusr%2Flocal%2Fbin%3A%24PATH%22%27%20%3E%3E%20~%2F.zshrc%0Asource%20~%2F.zshrc\">\n                            <button class=\"copy-button\" data-label=\"echo &#039;export PATH=&quot;\/usr\/local\/bin:$PATH&quot;&#039; &gt;&gt; ~\/.zshrc\nsource ~\/.zshrc\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Bash Users:<\/strong><\/li>\n<\/ul>\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-6\">echo &#039;export PATH=&quot;\/usr\/local\/bin:$PATH&quot;&#039; &gt;&gt; ~\/.bash_profile\nsource ~\/.bash_profile<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#echo%20%27export%20PATH%3D%22%2Fusr%2Flocal%2Fbin%3A%24PATH%22%27%20%3E%3E%20~%2F.bash_profile%0Asource%20~%2F.bash_profile\">\n                            <button class=\"copy-button\" data-label=\"echo &#039;export PATH=&quot;\/usr\/local\/bin:$PATH&quot;&#039; &gt;&gt; ~\/.bash_profile\nsource ~\/.bash_profile\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 6: Test SVN Functionality<\/strong><\/h3>\n\n\n\n<p>Create a test directory and initialize an SVN repository to ensure everything is working properly.\n\n\n\n<div class=\"code-block-container\">\n                        <pre class=\"wp-block-code\"><code id=\"code-7\">mkdir svn-test\ncd svn-test\nsvnadmin create test-repo<\/code><\/pre>\n                        <amp-iframe sandbox=\"allow-scripts\" width=\"94\" height=\"72\" frameborder=\"0\" \n                                    src=\"https:\/\/zahiralam.com\/blog\/wp-content\/plugins\/amp-copy-code-button\/copier.html#mkdir%20svn-test%0Acd%20svn-test%0Asvnadmin%20create%20test-repo\">\n                            <button class=\"copy-button\" data-label=\"mkdir svn-test\ncd svn-test\nsvnadmin create test-repo\"  placeholder disabled>Copy<\/button>\n                        <\/amp-iframe>\n                    <\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Troubleshooting<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Command Not Found:<\/strong> If you receive a &#8220;command not found&#8221; error when running <code>svn<\/code>, ensure that <code>\/usr\/local\/bin<\/code> is in your <code>PATH<\/code>.<\/li>\n\n\n\n<li><strong>Permission Issues:<\/strong> If you encounter permission errors, try running the command with <code>sudo<\/code>, although this is generally not recommended with Homebrew.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p>Congratulations! You&#8217;ve successfully installed SVN 1.14.3 on your Apple Silicon Mac. You&#8217;re now ready to manage your projects with one of the most reliable version control systems available.\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Additional Resources<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Official SVN Documentation:<\/strong> <a href=\"https:\/\/subversion.apache.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Apache Subversion<\/a><\/li>\n\n\n\n<li><strong>Homebrew Package Manager:<\/strong> <a href=\"https:\/\/brew.sh\/\" target=\"_blank\" rel=\"noreferrer noopener\">Homebrew Website<\/a><\/li>\n\n\n\n<li><strong>Homebrew Setup Guide:<\/strong> <a href=\"https:\/\/zahiralam.com\/blog\/mastering-homebrew-quick-setup-on-mac-m1-m2-and-m3\/\" target=\"_blank\" rel=\"noreferrer noopener\">Mastering Homebrew: Quick Setup on Mac M1, M2, and M3<\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><em>Feel free to share this guide with colleagues or friends who might find it helpful. Happy coding!<\/em>\n","protected":false},"excerpt":{"rendered":"<p>Apache Subversion (SVN) is a powerful version control system widely used for managing source code and collaborative projects. If you&#8217;re using an Apple Silicon Mac [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":1155,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[214],"tags":[17,209,210,238],"class_list":["post-1146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-installation","tag-mac-m1-m2-m3","tag-subversion","tag-svn","tag-svn-1-14-3"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts\/1146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/comments?post=1146"}],"version-history":[{"count":6,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts\/1146\/revisions"}],"predecessor-version":[{"id":1154,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/posts\/1146\/revisions\/1154"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/media\/1155"}],"wp:attachment":[{"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/media?parent=1146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/categories?post=1146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zahiralam.com\/blog\/wp-json\/wp\/v2\/tags?post=1146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}