This script automate the instructions in the oficial website to remount the partition in read and write mode
brew tap gromgit/homebrew-fuse
brew install ntfs-3g-mac
This is a good tutorial about this procedure: https://iboysoft.com/howto/enable-system-extension-m1-mac.html
We recommend to install pipx first and run this command
pipx install git+https://github.com/rodfersou/osx-ntfs-rw.git
You may need to restart your shell
echo "%admin ALL=(ALL:ALL) NOPASSWD:ALL" > admin && sudo chown 0 admin && sudo mv admin /etc/sudoers.d
sudo ntfs-rw