xcode-select --install- 
Download the latest dekitpro-macpman-installer.pkg from the GitHub releases page.
 - 
Install it with:
sudo installer -pkg /path/to/devkitpro-pacman.pkg -target /
 - 
Update
RootDirinpacman.confto work around unresolved Catalina issue. 
Catalina uses a unique partitioning scheme to ensure system integrity. As such, the root partition isn't writeable and so we have to update the pacman configuration to accomodate for this.
Follow the GitHub issue here: devkitPro/pacman#15
sudo sed -i '' 's|^#RootDir\ *= /|RootDir     = /System/Volumes/Data|' /opt/devkitPro/pacman/etc/pacman.confInstall the switch-dev package group using dkp-pacman.
sudo dkp-pacman --noconfirm --sync switch-dev- 
Create
~/.bash_profileor edit it if you have one already and add the following envrionment variables.export DEVKITPRO=/opt/devkitpro export DEVKITARM=${DEVKITPRO}/devkitARM export DEVKITPPC=${DEVKITPRO}/devkitPPC
export PATH=${DEVKITPRO}/tools/bin:$PATH
 - 
Source your updated
~/.bash_profile 
source ~/.bash_profileDevkitpro comes with example code installed at ${DEVKITPRO}/examples. You can use this code to test your toolchain or as a boiler plate for your first project.
cp -r "${DEVKITPRO}/examples/switch/templates/application" /tmp/example
cd /tmp/example
makeYou should now have a file in the current directory called example.nro.
- 
Launch the
hbmenuusing your favorite method. I'm partial to the RCMLoader myself. - 
Ensure that your Switch is connected to Wifi (not in Airplane mode) and press 'Y' to start NetLoader
 - 
In your build directory, run nxlink with the IP address shown on the NetLoader screen:
nxlink --address 192.168.1.10 example.nro
 - 
You should see your example code running.
 
Huge thanks to https://devkitpro.org for making this process so easy. Follow them on Twitter and support them on Patreon
This work is licensed under CC BY-NC version 4.0 https://creativecommons.org/licenses/by-nc/4.0/ © 2020, Josh Enders. Some Rights Reserved.


