platformio-core icon indicating copy to clipboard operation
platformio-core copied to clipboard

Is there a way to install OFFLINE?????

Open 424778940z opened this issue 4 years ago • 7 comments

My friend have really slow and metered internet, the installation take forever and never complete... I searched around, there are also people want make it portable have the same issue. Even copy whole .vscode and .platformio folders won't work.

Cant understand why it is so hard to make it portable and there seems no progress at all on this issue.

I'm trying to get more people play with Arduino without using that shitty IDE, but the online slow download install only really killed everyone's patient...

424778940z avatar Mar 18 '20 03:03 424778940z

If there is PATH or other local ENV required, then the script may should just patch that rather than download the whole thing from beginning, at least copy whole .platform folder will work in this way...

424778940z avatar Mar 18 '20 03:03 424778940z

I did a portable install VSC/Platformio for Windows. You can take a look Portable_VSC_PlatformIO

Jason2866 avatar Mar 31 '20 08:03 Jason2866

If it's slow with downloading platformio packages (like stm32HAL library, gcctools, which platformio will download automatically after you create a new project).

you could download it manually here:http://dl.bintray.com/platformio/ . And then just copy them to .platformio\packages\ .

jiladahe1997 avatar Apr 05 '20 05:04 jiladahe1997

no not the packages, I can install pio plugin but after that it will stuck at "Please do not close this window and do not open other folders until this process is completed"

424778940z avatar Apr 05 '20 12:04 424778940z

PlatformIO-IDE for vscode installation includes following steps: 1.check and download python3.7(if not installed) from python official site 2.pip install platfromIO core from pip registry 3.run CLI: platformIO home 4.install contrib-pysite from http://dl.bintray.com/platformio/ 5.install contrib-piohome from http://dl.bintray.com/platformio/

You could open vscode developer tools by click "Help->Toggle Developer Tools" in the top bar, and some logs will be displayed in the console tab, which showing the currently running step.

By the way, I'm trying to dev a mirror site for PlatformIO in China(still under development), maybe will help you.

jiladahe1997 avatar Apr 11 '20 09:04 jiladahe1997

PlatformIO-IDE for vscode installation includes following steps: 1.check and download python3.7(if not installed) from python official site 2.pip install platfromIO core from pip registry 3.run CLI: platformIO home 4.install contrib-pysite from http://dl.bintray.com/platformio/ 5.install contrib-piohome from http://dl.bintray.com/platformio/

You could open vscode developer tools by click "Help->Toggle Developer Tools" in the top bar, and some logs will be displayed in the console tab, which showing the currently running step.

By the way, I'm trying to dev a mirror site for PlatformIO in China(still under development), maybe will help you.

Is there any progress? about pakage mirror

LONGER3D avatar Oct 23 '21 09:10 LONGER3D

Related? https://github.com/platformio/platformio-core/issues/3333

Platform IO is great however it still and always depends on a working internet connection at some point. There are people who are required to code / build stuff on airgapped machines that can't have internet access even for setup.

It would be nice to see a simple way to download / store dependencies and install them manually / with a command so the local development platform doesn't require internet access.

TCB13 avatar Oct 07 '23 10:10 TCB13