Skip to main content
Markup.
Source Link
Kusalananda
  • 355.8k
  • 42
  • 735
  • 1.1k

~/.bashrc does not recognize export

This is probably the weirdest thing you've ever seen. But it's true. I'm on macOS, and want to install devKitARM. After installing Git, the guide told me to show the program where the binaries are. It told me to execute:

echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
source ~/.bashrc

However, when I do this, it gives me

export: Command not found.
export: Command not found.
export: Command not found.

I looked in the /.bashrc~/.bashrc and realized that there was already an export PATHexport PATH command in there, probably for some system function. However, this was not being recognized the entire time. Can someone help?

/.bashrc does not recognize export

This is probably the weirdest thing you've ever seen. But it's true. I'm on macOS, and want to install devKitARM. After installing Git, the guide told me to show the program where the binaries are. It told me to execute:

echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
source ~/.bashrc

However, when I do this, it gives me

export: Command not found.
export: Command not found.
export: Command not found.

I looked in the /.bashrc and realized that there was already an export PATH command in there, probably for some system function. However, this was not being recognized the entire time. Can someone help?

~/.bashrc does not recognize export

This is probably the weirdest thing you've ever seen. But it's true. I'm on macOS, and want to install devKitARM. After installing Git, the guide told me to show the program where the binaries are. It told me to execute:

echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
source ~/.bashrc

However, when I do this, it gives me

export: Command not found.
export: Command not found.
export: Command not found.

I looked in the ~/.bashrc and realized that there was already an export PATH command in there, probably for some system function. However, this was not being recognized the entire time. Can someone help?

Source Link
Moiré
  • 75
  • 1
  • 7

/.bashrc does not recognize export

This is probably the weirdest thing you've ever seen. But it's true. I'm on macOS, and want to install devKitARM. After installing Git, the guide told me to show the program where the binaries are. It told me to execute:

echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc
echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc
source ~/.bashrc

However, when I do this, it gives me

export: Command not found.
export: Command not found.
export: Command not found.

I looked in the /.bashrc and realized that there was already an export PATH command in there, probably for some system function. However, this was not being recognized the entire time. Can someone help?