2

I am learning how to make things with Raspberry. For now I do coding right on the Raspberry. However, this is a very slow computer and I believe there is much more efficient way of working.

How to code for Raspberry on ordinary PC which is much more powerful? I’d like to use professional tool like Pycharm on my PC, do all the job on PC and simply deploy the code onto raspberry. What options are available?

1

2 Answers 2

2

I personally prefer to mount my raspberrypi to a local directory using sshfs and then open that directory in my editor. When I want to run the program on the pi, I use a terminal (which could be the terminal built into the editor), ssh into the pi, and run the program from there.

After installing sshfs, which is done differently depending on your operating system, it is fairly simple to use:

sshfs user@hostname:/path/to/code/on/pi /local/path/to/code

2

I use vscode remotely, works really well!

https://www.hanselman.com/blog/VisualStudioCodeRemoteDevelopmentOverSSHToARaspberryPiIsButter.aspx

Not the answer you're looking for? Browse other questions tagged or ask your own question.